Compute a correlation matrix for a pssm dataset
pssm_dataset_cor.Rd
Compute a correlation matrix for a pssm dataset
Usage
pssm_dataset_cor(
dataset,
method = "spearman",
prior = 0.01,
parallel = getOption("prego.parallel", TRUE)
)
Arguments
- dataset
a pssm dataset. A data frame with the columns 'motif', 'pos', 'A", 'C', 'G', 'T'
- method
method to use for computing the correlation. See
cor
for details.- prior
a prior probability for each nucleotide.
- parallel
whether to use parallel computing
Examples
if (FALSE) { # \dontrun{
cm <- pssm_dataset_cor(JASPAM_motifs)
head(cm)
} # }