Description Usage Arguments Examples
Note that this function is deprecated and replaced by toPWM()
.
1 2 3 4 5 6 7 |
motifs |
a list of motifs represented as matrices of frequencies (PFM) |
id |
the set of IDs for the motifs (defaults to names of the 'motifs' list) |
name |
the set of names for the motifs (defaults to names of the 'motifs' list) |
seq.count |
if frequencies in the motifs are normalized to 1, provides a vector of sequence counts (e.g. for MotifDb motifs) |
... |
other parameters to PWMUnscaled |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | ## Not run:
if (requireNamespace("PWMEnrich.Dmelanogaster.background")) {
data(MotifDb.Dmel.PFM, package = "PWMEnrich.Dmelanogaster.background")
# convert to PWM with uniform background
PFMtoPWM(MotifDb.Dmel.PFM)
# get background for drosophila (quick mode on a reduced dataset)
prior = getBackgroundFrequencies("dm3", quick=TRUE)
# convert with genomic background
PFMtoPWM(MotifDb.Dmel.PFM, prior.params=prior)
}
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.