Description Usage Arguments Value Examples
View source: R/util_FindCorrelatedRegions.R
Find contiguous co-edited subregions based on the output file
from function MarkCoeditedSites
.
1 2 3 4 5 | 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.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | 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.