pr2_read: Reads the whole PR2 database into a data frame

Description Usage Arguments Value Examples

View source: R/pr2_management.R

Description

The database access codes is obtained with the function db_info("pr2_google").

Important: This gets the whole database, including sequences that have been removed. These sequences must be filtered out before export using pr2 <- pr2 %>% filter (is.na(removed_version)). However the taxo entries that have been removed are already removed.

Usage

1
pr2_read(taxo_levels_number = 8)

Arguments

taxo_levels_number

integer - number of taxonomic levels, 8 or 9

Value

A data frame with all the columns from pr2.

Examples

1
pr2 <- pr2_read(taxo_levels_number = 8)

vaulot/dvutils documentation built on Nov. 20, 2021, 11:01 a.m.