metacoder (version 0.1.3)

rdp_ex_data: Example of RDP Archea data

Description

A dataset containing information from 400 Archaea 16S sequences from the RDP reference database.

Usage

rdp_ex_data

Arguments

Format

An object of type taxmap

Examples

Run this code
# NOT RUN {
file_path <- system.file("extdata", "rdp_current_Archaea_unaligned.fa", package = "metacoder")
sequences <- ape::read.FASTA(file_path)
rdp_ex_data <- extract_taxonomy(sequences,
                                regex = "^(.*?) (.*)\\tLineage=(.*)",
                                key = c(id = "obs_info", description = "obs_info", "class"),
                                class_regex = "(.+?);(.*?);",
                                class_key = c("name", "taxon_info"))
# }
# NOT RUN {
# }

Run the code above in your browser using DataCamp Workspace