comp_correlation | R Documentation |
Calculate correlation coefficients between two compartment tracks
comp_correlation( x, y, score_x = 1, score_y = 1, method = c("pearson", "spearman", "kendall"), overall = FALSE )
x |
Compartment scores. |
y |
Compartment scores. |
score_x |
name of the score column in |
score_y |
name of the score column in |
method |
Type of correlation scores. Must be one of |
overall |
if FALSE, calculate correlation scores for each chromosome separately |
A data frame for correlation.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.