Learn R Programming

FeatureExtraction (version 3.9.0)

loadCovariateData: Load the covariate data from a folder

Description

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

Usage

loadCovariateData(file, readOnly)

Value

An object of class CovariateData.

Arguments

file

The name of the folder containing the data.

readOnly

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

Details

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

Examples

Run this code
# \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)
# }

Run the code above in your browser using DataLab