Samples are automatically downloaded if they are not found in the current working directory.

loadENCODEsamples(metadata, path = ".")

Arguments

metadata

Character: ENCODE metadata

path

Character: path where to download files

Value

List of loaded ENCODE samples

See also

Other functions related with using ENCODE expression data: downloadENCODEknockdownMetadata(), performDifferentialExpression(), prepareENCODEgeneExpression()

Examples

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)
}