randomize: Compute coverage correlation of random permutations of...

Description Usage Arguments Value

View source: R/compare_peaks.r

Description

Given a GRangesList of sampled regions, where for each sample the experimental and predicted coverage profile

is given, the function shuffles the predicted coverage profiles, assigning them to random regions and computes the correlation coefficient

Usage

1
randomize(track.list, method = "spearman")

Arguments

track.list

GRangesList object of sampled regions with experimental and predicted coverage

method

a character string indicating which correlation coefficient is to be computed. One of "pearson", "kendall", or "spearman" (default)

Value

vector of correlation coefficients of permutations of sampled regions


EmmaDann/hexamerModel documentation built on May 5, 2019, 4:48 p.m.