View source: R/SummarizeAllRegions.R
SummarizeAllRegions | R Documentation |
A wrapper function to summarize RNA editing levels from multiple sites in regions.
SummarizeAllRegions( regions_gr, rnaEditMatrix, selectMethod = MedianSites, progressBar = "time", ... )
regions_gr |
A GRanges object of input genomic regions. |
rnaEditMatrix |
A matrix (or data frame) of RNA editing level values
for 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 ( |
selectMethod |
Method for summarizing regions. Available options are
|
progressBar |
Name of the progress bar to use. There are currently five
types of progress bars: |
... |
Dots for additional internal arguments (currently unused). |
A data frame of the class rnaEdit_df
, includes
variables seqnames, start, end, width
and summarized RNA editing
levels in each sample.
TransformToGR
, AllCloseByRegions
,
AllCoeditedRegions
, CreateEditingTable
,
TestAssociations
, AnnotateResults
data(rnaedit_df) genes_gr <- TransformToGR( genes_char = c("PHACTR4", "CCR5", "METTL7A"), type = "symbol", genome = "hg19" ) exm_regions <- AllCoeditedRegions( regions_gr = genes_gr, rnaEditMatrix = rnaedit_df, output = "GRanges", method = "spearman" ) SummarizeAllRegions( regions_gr = exm_regions, rnaEditMatrix = rnaedit_df )[1:3, 1:6]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.