Description Usage Arguments Value Examples
View source: R/util_PlotEditingCorrelations.R
Plotting correlations of RNA editing levels within a region.
1 | 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.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | 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.