CreateEditingTable: Convert RNA editing matrix into a special data frame with...

View source: R/CreateEditingTable.R

CreateEditingTableR Documentation

Convert RNA editing matrix into a special data frame with class rnaEdit_df.

Description

Convert RNA editing matrix to a special data frame with class rnaEdit_df, which is then used to identify differentially co-edited regions with function TestAssociations.

Usage

CreateEditingTable(rnaEditMatrix)

Arguments

rnaEditMatrix

A matrix 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)).

Value

A dataset of class rnaEdit_df, includes variables seqnames, start, end, width and summarized RNA editing levels in each sample.

See Also

TransformToGR, AllCloseByRegions, AllCoeditedRegions, SummarizeAllRegions, TestAssociations, AnnotateResults

Examples

  data(rnaedit_df)
  CreateEditingTable(rnaEditMatrix = rnaedit_df)[1:3, 1:5]
  

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