View source: R/util_FindCorrelatedRegions.R
FindCorrelatedRegions | R Documentation |
Find contiguous co-edited subregions based on the output file
from function MarkCoeditedSites
.
FindCorrelatedRegions( sites_df, featureType = c("site", "cpg"), minSites_int = 3 )
sites_df |
An output data frame from function |
featureType |
Feature type, Defaults to |
minSites_int |
An integer indicates the minimum number of sites to be considered a contiguous co-edited region. |
A data frame with the following columns:
site
: site ID.
subregion
: index for each output contiguous co-edited
region.
data(t_rnaedit_df) ordered_cols <- OrderSitesByLocation( sites_char = colnames(t_rnaedit_df), output = "vector" ) exm_data <- t_rnaedit_df[, ordered_cols] exm_sites <- MarkCoeditedSites( rnaEditCluster_mat = exm_data, method = "spearman" ) FindCorrelatedRegions( sites_df = exm_sites, featureType = "site" )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.