View source: R/SummarizeSingleRegion.R
SummarizeSingleRegion | R Documentation |
Summarizes RNA editing levels from multiple sites in an input region.
SummarizeSingleRegion( region_df, rnaEditMatrix, selectMethod = MedianSites, ... )
region_df |
A data frame with the input genomic region. Please make
sure columns |
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
|
... |
Dots for additional internal arguments (currently unused). |
A named numeric vector of summarized RNA editing levels with sample IDs as column names.
data(rnaedit_df) exm_region <- data.frame( seqnames = "chr1", start = 28691093, end = 28826881, stringsAsFactors = FALSE ) SummarizeSingleRegion( region_df = exm_region, rnaEditMatrix = rnaedit_df )[1:3]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.