View source: R/util_PlotEditingCorrelations.R
PlotEditingCorrelations | R Documentation |
Plotting correlations of RNA editing levels within a region.
PlotEditingCorrelations(region_gr, rnaEditMatrix, ...)
region_gr |
A GRanges object of a region. |
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 ( |
... |
Dots for additional internal arguments, see
|
(Invisibly) returns a reordered correlation matrix.
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" ) PlotEditingCorrelations( region_gr = exm_regions[1], rnaEditMatrix = rnaedit_df )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.