Description Details Author(s) References See Also Examples
Calculates K-mers from string vectors.
No details so far.
Kristian Hovde Liland
TODO:
Please don't.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | # Basic
system.time(a <- Kmer(c("AAACGTTTT","GTTT"),3,TRUE))
dim(a)
sum(a)
print(a)
# 0/1 instead of count
system.time(aR <- KmerRDP(c("AAACGTTTT","GTTT"),3,TRUE))
# Alien characters
system.time(aA <- KmerAlien(c("AAANGTTTT","GTTT"),3,TRUE))
system.time(aAR <- KmerAlienRDP(c("AAANGTTTT","GTTT"),3,TRUE))
# Count for classes
system.time(b <- Kmer_classes(c("AAACGTTTT","GTTT"),3,TRUE,c("Fish","Coconut")))
print(b)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.