kmax | R Documentation |
simple contig kmer comparisons
kmax(km, normalize = TRUE)
km |
kmer summary |
normalize |
normalize (divide by row sums)? (TRUE) |
the most common kmers for each contig, across all contigs
data(genbank_mito, package="spiky") mtk6 <- kmers(genbank_mito, k=6) rownames(mtk6) <- paste0(rownames(mtk6), "_MT") kmax(mtk6) data(phage, package="spiky") phk6 <- kmers(phage, k=6) kmax(phk6, normalize=FALSE) stopifnot(identical(colnames(phk6), colnames(mtk6))) k6 <- rbind(mtk6, phk6) kmax(k6)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.