Load matrix of CMap perturbation's differential expression z-scores (optional)

loadCMapZscores(data, inheritAttrs = FALSE, verbose = TRUE)

Arguments

data

perturbationChanges object

inheritAttrs

Boolean: convert to perturbationChanges object and inherit attributes from data?

verbose

Boolean: print additional details?

Value

Matrix containing CMap perturbation z-scores (genes as rows, perturbations as columns)

Examples

metadata <- loadCMapData("cmapMetadata.txt", "metadata")
#> Loading CMap metadata from cmapMetadata.txt...
metadata <- filterCMapMetadata(metadata, cellLine="HepG2")
if (FALSE) { # \dontrun{
perts <- prepareCMapPerturbations(metadata, "cmapZscores.gctx",
                                  "cmapGeneInfo.txt")
zscores <- loadCMapZscores(perts[ , 1:10])
} # }