GlobalEditing: Get Global Editing Values

Description Usage Arguments Details Value Examples

View source: R/GlobalEditing.R

Description

GlobalEditing returns global editing values for each sample.

Usage

1
GlobalEditing(x, type = c("proportion", "count", "covered"), by = NULL)

Arguments

x

An RNA editing data object which includes Annotation dataframe, Frequency matrix, and Coverage-q25 matrix at minimum

type

A character vector with values "proportion", "count", and/or "covered" specifying global editing measure to return. By default, returns all three.

by

A character vector with name of column in x$Annotation dataframe by which to split editing data

Details

The input should be a list object which includes matrices named "Frequency" and "Coverage-q25". The function will return a vector, matrix, or list of vectors or matrices with options to report the following:

Proportion

Total proportion of edited reads over reads mapping to edited sites (EditedReads / Coverage)

Count

Total number of sites with editing present

Coverage

Total number of sites with coverage (recommended for normalization of counts above)

By default, calculates global values for all editing events combined. To split by region, subtype, or other annotation, supply name of column in Annotation data.frame to be used to split data.

Value

A vector, matrix, or list of vectors or matrices with global editing values.

Examples

1
2
3
4
5
6
## Not run: 
GlobalEditing(RNAEdDataQCed)
GlobalEditing(RNAEdDataQCed, type = "proportion")
GlobalEditing(RNAEdDataQCed, type = "count", by = "SubType")

## End(Not run)

okg3/RNAEditingAnalysisTools documentation built on April 2, 2020, 5:04 a.m.