download_encode_rna: Obtains and process expression data from ENCODE.

Description Usage Arguments Value

View source: R/EncodeHelper.R

Description

Given an encode biosample identifier (GM12878, MCF-7, etc.), this function retrieved processed expression levels.

Usage

1
2
3
download_encode_rna(biosample, assembly,
  download.filter = default_download_filter_rna,
  download.dir = file.path("input/ENCODE", biosample, assembly, "rna-seq"))

Arguments

biosample

The biosample identifier from ENCODE. Valid examples are GM12878, K562 or MCF-7.

download.filter

A filtering function to be applied to the experiment data-frame returned by queryEncode. The function should return a filtered data-frame containing only the files which should be downloaded.

download.dir

The folder where the downloaded files should be stored. defaults to file.path("input/ENCODE", biosample, "chip-seq").

genome.assembly

Which genome assembly should the results come from?

Value

A list containing three elements:

Metadata

The metadata returned by queryEncode, containing information about all files which matched the query.

Downloaded

The list of files which were downloaded.

Expression

A data-frame with processed expression levels.


ArnaudDroitLab/ef.utils documentation built on Aug. 13, 2019, 9:09 p.m.