Description Usage Arguments See Also Examples
Plot a distribution (bar plot) of the most frequent kmers in a data.
1 2 3 4 5 | vis.kmer.histogram(
.kmers,
.head = 100,
.position = c("stack", "dodge", "fill")
)
|
.kmers |
Data frame with two columns "Kmers" and "Count" or a list with such data frames. See Examples. |
.head |
Number of the most frequent kmers to choose for plotting from each data frame. |
.position |
Character vector of length 1. Position of bars for each kmers. Value for the |
1 2 3 4 5 6 7 8 9 10 11 12 | ## Not run:
# Load necessary data and package.
library(gridExtra)
load('immdata.rda')
# Get 5-mers.
imm.km <- get.kmers(immdata)
# Plots for kmer proportions in each data frame in immdata.
p1 <- vis.kmer.histogran(imm.km, .position = 'stack')
p2 <- vis.kmer.histogran(imm.km, .position = 'fill')
grid.arrange(p1, p2)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.