Classifying DNA Sequences to Taxonomic Groupings

Classification based analysis of DNA sequences to taxonomic groupings. This package primarily implements Naive Bayesian Classifier from the Ribosomal Database Project. This approach has traditionally been used to classify 16S rRNA gene sequences to bacterial taxonomic outlines; however, it can be used for any type of gene sequence. The method was originally described by Wang, Garrity, Tiedje, and Cole in Applied and Environmental Microbiology 73(16):5261-7 . The package also provides functions to read in 'FASTA'-formatted sequence data.


phylotypr phylotypr website

CRANstatus R-CMD-check Codecov testcoverage CRANdownloads

Overview

phylotypr is a package for classification based analysis of DNA sequences. This package primarily implements Naive Bayesian Classifier from the Ribosomal Database Project. Although you can classify any type of sequence (assuming you have the proper database), this algorithm is mainly used to classify 16S rRNA gene sequences.

Installation

You can install the development version of phylotypr from GitHub with:

# install.packages("devtools")
devtools::install_github("mothur/phylotypr")

You can also get the official release version from CRAN

install.packages("phylotypr")

Usage

Be sure to see the Getting Started article to see an example of how you would build the database and classify individual and multiple sequences.

Reference databases

The {phylotypr} package ships with the RDP’s v.9 of their training data. This is relatively small and old (2010) relative to their latest versions. You are encouraged to install newer versions of the RDP, greengenes, and SILVA databases from the {phylotyprrefdata} package on GitHub. Note that installing the package will take about 20 minutes to install. If it sits at “moving datasets to lazyload DB” for a long time, this is normal :)

devtools::install_github("mothur/phylotyprrefdata")
library(phylotyprrefdata)

The following will list the references that are available in {phylotyprrefdata}:

data(package = "phylotyprrefdata")

More information about {phylotypr}

You can learn more about the underlying algorithm in the paper that originally described the algorithm that was published in Applied and Environmental Microbiology. If you want to learn more about how this package was created, be sure to check out the mothur YouTube channel where a playlist is available showing every step.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("phylotypr")

0.1.1 by Pat Schloss, 2 years ago


https://github.com/mothur/phylotypr, https://mothur.org/phylotypr/


Report a bug at https://github.com/mothur/phylotypr/issues


Browse source code at https://github.com/cran/phylotypr


Authors: Pat Schloss [aut, cre, cph]


Documentation:   PDF Manual  


GPL-3 license


Imports Rcpp, readr, Rfast, stats, stringi

Suggests knitr, rmarkdown, purrr, dplyr, testthat

Linking to Rcpp


Suggested by strollur.


See at CRAN