QuanGR: Summarize abundances to gene level

Description Usage Arguments Value Author(s) See Also Examples

View source: R/QuanGR.R

Description

The function summarizes the quantification results from the function QuanBam to gene level.

Usage

1
QuanGR(GR, method = "sum", Quan = "counts", by = "gene_id")

Arguments

GR

GRange object with quantification results and gene annotation.

method

The method to summarize abundances. It can be RPKM, sum, mean, median, max and min.

Quan

The quantification results from the function QuanBam. It can be counts or mdepths.

by

The gene annotation. The quantification results are summarized by this annotation level.

Value

The results return a abundance matrix in annotation level. For example, if the input abundances are summarized by gene_id level, the results will be a matrix with quantification result for each gene.

Author(s)

Qiang Hu

See Also

QuanBam

Examples

1
2
3
##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	or do  help(data=index)  for the standard data sets.

qRNASeq documentation built on May 2, 2019, 4:26 p.m.