loadENCODEsamples {cTRAP} | R Documentation

## Load ENCODE samples

### Description

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

### Usage

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

[Package cTRAP version 1.12.0 Index]