| build_kmer_database | R Documentation |
Build kmer database for classifying 16S rRNA and other gene sequences to a genus when a kmer size is provided.
build_kmer_database(classification_database, kmer_size = 8)
classification_database |
A |
kmer_size |
An integer indicating the length of the nucleotide word to base our classification on (default = 8) |
A list object containing the genus level conditional probability
(conditional_prob) of seeing each kmer in a given genus as well as
the genus names (genera)
Wang Q, Garrity GM, Tiedje JM, Cole JR. Naive Bayesian classifier for rapid assignment of rRNA sequences into the new bacterial taxonomy. Appl Environ Microbiol. 2007 Aug;73(16):5261-7. \Sexpr[results=rd]{tools:::Rd_expr_doi("doi:10.1128/AEM.00062-07")} PMID: 17586664; PMCID: PMC1950982.
kmer_size <- 8
## Not run:
# Function takes >5 s to run on this database
build_kmer_database(rdp_trainset9_pds, kmer_size)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.