PlotEditingCorrelations {rnaEditr} | R Documentation

## Plotting correlations of RNA editing levels within a region.

### Description

Plotting correlations of RNA editing levels within a region.

### Usage

    PlotEditingCorrelations(region_gr, rnaEditMatrix, ...)

### Arguments

`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 (`data(rnaedit_df)`).
`...` | Dots for additional internal arguments, see `corrplot` for details.

### Value

(Invisibly) returns a reordered correlation matrix.

### Examples

      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
      )

[Package rnaEditr version 1.2.0 Index]