View source: R/util_CreateRdrop.R
CreateRdrop | R Documentation |
Calculates the correlation coefficient between RNA editing levels of one site and the mean RNA editing levels of the rest of the sites in a region.
CreateRdrop( data, method = c("spearman", "pearson"), minEditFreq = 0.05, verbose = TRUE )
data |
A data frame of RNA editing level values on individual sites, with row names as sample IDs and column names as site IDs in the form of "chrAA:XXXXXXXX". |
method |
Method for computing correlation. Defaults to
|
minEditFreq |
Threshold for minimum percentage of edited samples
for a given
site. The |
verbose |
Should messages and warnings be displayed? Defaults to TRUE. |
A data frame with the following columns:
site
: site ID.
r_drop
: the correlation between RNA editing levels of
one site and the mean RNA editing levels of the rest of the sites.
data(t_rnaedit_df) ordered_cols <- OrderSitesByLocation( sites_char = colnames(t_rnaedit_df), output = "vector" ) exm_data <- t_rnaedit_df[, ordered_cols] CreateRdrop( data = exm_data, method = "spearman" )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.