This function allows you to calculate correlations between wiggle files
for ChIP-seq, both on an individual chromosome basis and genome-wide. It
takes as an input two lists of 16 chromosomes (output of readall_tab
).
wiggle_correlation(Set1, Set2, method = "spearman")
Set1 | A list of 16 chr wiggle data (output of |
---|---|
Set2 | A list of 16 chr wiggle data (output of |
method | A character string indicating which correlation coefficient
is to be computed ( |
A vector with 17 values with names indicating the chromosome associated with each individual correlation value.
# NOT RUN { wiggle_correlation(Red1WT_rep1, Red1WT_rep2) wiggle_correlation(Red1WT_rep1, Red1WT_rep2, method = "spearman") # }