Samples are automatically downloaded if they are not found in the current working directory.
loadENCODEsamples(metadata, path = ".")
List of loaded ENCODE samples
Other functions related with using ENCODE expression data:
downloadENCODEknockdownMetadata()
,
performDifferentialExpression()
,
prepareENCODEgeneExpression()
if (interactive()) {
# Load ENCODE metadata for a specific cell line and gene
cellLine <- "HepG2"
gene <- c("EIF4G1", "U2AF2")
ENCODEmetadata <- downloadENCODEknockdownMetadata(cellLine, gene)
# Load samples based on filtered ENCODE metadata
loadENCODEsamples(ENCODEmetadata)
}