select_taxonomy {forcis} | R Documentation |
Select a taxonomy in FORCIS data
Description
Selects a taxonomy in FORCIS data. FORCIS database provides three different
taxonomies: "LT"
(lumped taxonomy), "VT"
(validated taxonomy) and "OT"
(original taxonomy). See doi:10.1038/s41597-023-02264-2 for further
information.
Usage
select_taxonomy(data, taxonomy)
Arguments
data |
a |
taxonomy |
a |
Value
A tibble
.
Examples
# Import example dataset ----
file_name <- system.file(file.path("extdata", "FORCIS_net_sample.csv"),
package = "forcis")
net_data <- read.csv(file_name)
# Dimensions of the data.frame ----
dim(net_data)
# Select a taxonomy ----
net_data <- select_taxonomy(net_data, taxonomy = "VT")
# Dimensions of the data.frame ----
dim(net_data)
[Package forcis version 1.0.1 Index]