Description Usage Arguments Details Value Examples
deviationsCovariability
1 | deviationsCovariability(object)
|
object |
deviations result |
Returns the 'covariability' between motifs/kmers/peaksets. Covariability' is defined as covariance between Z-scores divided by variance of Z-scores for one motif/kmer/peakset (the row).
'covariability' matrix
1 2 3 4 5 6 7 8 9 10 11 12 13 | # load very small example data
data(mini_counts, package = "chromVAR")
motifs <- getJasparMotifs()
library(motifmatchr)
motif_ix <- matchMotifs(motifs, mini_counts,
genome = BSgenome.Hsapiens.UCSC.hg19::BSgenome.Hsapiens.UCSC.hg19)
# computing deviations
dev <- computeDeviations(object = mini_counts,
annotations = motif_ix)
# get covariability for just first three motifs
devcov <- deviationsCovariability(dev[1:3,])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.