loadCovariateData loads an object of type covariateData from a folder in the file system.

loadCovariateData(file, readOnly)

Arguments

file

The name of the folder containing the data.

readOnly

DEPRECATED: If true, the data is opened read only.

Value

An object of class CovariateData.

Details

The data will be written to a set of files in the folder specified by the user.

Examples

# \donttest{
andromedaVersion <- utils::packageVersion("Andromeda")
if (andromedaVersion < "1.0.0") {
  binaryCovDataFile <- system.file("testdata/binaryCovariateData.zip",
    package = "FeatureExtraction"
  )
} else {
  binaryCovDataFile <- system.file("testdata/binaryCovariateDataDuckDB.zip",
    package = "FeatureExtraction"
  )
}
covData <- loadCovariateData(binaryCovDataFile)
# }