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

RegionSummaryMethodR Documentation

Methods to summarize RNA editing levels from multiple sites within a single region.

Description

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

Usage

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

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


TransBioInfoLab/rnaEditr documentation built on Nov. 29, 2022, 3:31 p.m.