read_rna_beatson: Read Beatson bed formatted RNA-Seq file

Description Usage Arguments Value Author(s)

Description

read_rna_beatson reads a file containing promoter annotation data together with gene expression levels from RNA-Seq experiments using the fread function.

Usage

1
read_rna_beatson(file, chr_discarded = NULL, is_GRanges = TRUE)

Arguments

file

The name of the file to read data values from.

chr_discarded

A vector with chromosome names to be discarded.

is_GRanges

Logical: if TRUE a GRanges object is returned, otherwise a data.frame object is returned.

Value

A GRanges object if is_GRanges is TRUE, otherwise a data.table object.

The GRanges object contains three additional metadata columns:

These columns can be accessed as follows: granges_object$id

Author(s)

C.A.Kapourani C.A.Kapourani@ed.ac.uk


andreaskapou/BPRMeth-devel documentation built on May 12, 2019, 3:32 a.m.