metacoder (version 0.1.3)

pr2_ex_data: Example of PR2 SSU data

Description

A dataset containing information from 249 Stramenopile sequences from the PR2 reference database.

Usage

pr2_ex_data

Arguments

Format

An object of type taxmap

Examples

Run this code
# NOT RUN {
file_path <- system.file("extdata", "pr2_stramenopiles_gb203.fasta", package = "metacoder")
sequences <- ape::read.FASTA(file_path)
pr2_ex_data <- extract_taxonomy(sequences,
                                regex = "^(.*\\..*?)\\|(.*)$",
                                key = c("obs_id", "class"),
                                class_sep = "\\|")
# }
# NOT RUN {
# }

Run the code above in your browser using DataCamp Workspace