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)

### Arguments

`metadata` | Character: ENCODE metadata

### 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.8.0 Index]