Calculate various quality control measures on binned read counts.
1 2 3 4 5 6 7
A vector of binned read counts.
The Shannon entropy is defined as
S = - sum( n * log(n) ), where n = counts/sum(counts).
Spikyness is defined as K = sum(abs(diff(counts))) / sum(counts).
qc.spikiness: Calculate the spikiness of a library
qc.entropy: Calculate the Shannon entropy of a library
qc.bhattacharyya: Calculate the Bhattacharyya distance between the '1-somy' and '2-somy' distribution
qc.sos: Sum-of-squares distance from the read counts to the fitted distributions
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.