loadCovariateData
loads an object of type covariateData from a folder in the file system.
loadCovariateData(file, readOnly)
An object of class CovariateData
.
The data will be written to a set of files in the folder specified by the user.
# \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)
# }