RegionSummaryMethod: Methods to summarize RNA editing levels from multiple sites...

Description Usage Arguments Value Examples

Description

Summarize RNA editing sites in a single region by taking maximum, mean, median or first principal component.

Usage

1
2
3
4
5
6
7
MaxSites(rnaEditMatrix, ...)

MeanSites(rnaEditMatrix, ...)

MedianSites(rnaEditMatrix, ...)

PC1Sites(rnaEditMatrix, ...)

Arguments

rnaEditMatrix

A matrix (or data frame) of RNA editing level values on individual sites, with row names as site IDs in the form of "chrAA:XXXXXXXX", and column names as sample IDs. Please make sure to follow the format of example dataset (data(rnaedit_df)).

...

Dots for additional internal arguments (currently unused).

Value

A named numeric vector of summarized RNA editing levels with sample IDs as names.

Examples

1
2
  data(rnaedit_df)
  MedianSites(rnaEditMatrix = rnaedit_df)[1:3]

rnaEditr documentation built on Nov. 8, 2020, 8:26 p.m.