loadGtexData {psichomics}R Documentation

Load GTEx data

Description

Load GTEx data

Usage

loadGtexData(
  folder = getDownloadsFolder(),
  data = getGtexDataTypes(),
  tissue = NULL
)

Arguments

folder

Character: folder containing data

data

Character: data types to load (see getGtexDataTypes)

tissue

Character: tissues to load (if NULL, load all); tissue selection may speed up data loading

Value

List with loaded data

See Also

Other functions associated with GTEx data retrieval: getDownloadsFolder(), getGtexDataTypes(), getGtexTissues()

Examples

## Not run: 
# Download and load all available GTEx data
data <- loadGtexData()

# Download and load only junction quantification and sample info from GTEx
getGtexDataTypes()
data <- loadGtexData(data=c("sampleInfo", "junctionQuant"))

# Download and load only data for specific tissues
getGtexTissues()
data <- loadGtexData(tissue=c("Stomach", "Small Intestine"))

## End(Not run)

[Package psichomics version 1.12.1 Index]