Description Usage Arguments Value Functions See Also Examples
Kmers of interest can be collapsed or grouped by their levenshtein distance
(>2) to simplify enriched/depleted kmer outputs. These functions help visualize
how kmers are grouped as well as provide PWM which can be visualized using
ggseqlogo
.
1 2 3 |
kmers |
character list of kmers of the length. |
title |
string for plot titles defaults to no title. |
a tree, seqotif plots or a named list of PWMs
kmer2logo
: the tree and all seq logos together
kmer2tree
: the tree of kmers with groups highlighted.
kmer_compare
, ggseqlogo
, msaClustalW
1 2 3 4 5 6 7 | enriched_sixmers <- c("AAGGAA", "ACACAC", "AGAAGG", "AGAGAG", "AGAGGG",
"AGGAAG", "AGGAGG", "AGGGAG", "CACACA", "GAAGGA", "GAGAAG", "GAGAGA",
"GAGGAG", "GAGGGA", "GAGGGG", "GGAAGG", "GGAGGA", "GGAGGG", "GGGAGG")
kmer2logo(enriched_sixmers, "My Plot Title")
kmer2tree(enriched_sixmers, "My Tree Title")
kmer_PWMs <- kmer2PWM(enriched_sixmers)
kmer_PWMs
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.