downloadL1000data {cTRAP} | R Documentation |
The data will be downloaded if not available
downloadL1000data(file, type = c("metadata", "geneInfo", "zscores"), zscoresId = NULL)
file |
Character: filepath |
type |
Character: type of data to load |
zscoresId |
Character: identifiers to partially load z-scores file (for performance reasons) |
Metadata as a data table
# Download L1000 metadata l1000metadata <- downloadL1000data("l1000metadata.txt", "metadata") # Download L1000 gene info downloadL1000data("l1000geneInfo.txt", "geneInfo") # Download L1000 zscores based on filtered metadata l1000metadataKnockdown <- filterL1000metadata( l1000metadata, cellLine="HepG2", perturbationType="Consensus signature from shRNAs targeting the same gene") if (interactive()) { downloadL1000data("l1000zscores.gctx.gz", "zscores", l1000metadataKnockdown$sig_id) }