View source: R/select_taxonomy.R
select_taxonomy | R Documentation |
Selects a taxonomy in FORCIS data. FORCIS database provides three different
taxonomies: "LT"
(lumped taxonomy), "VT"
(validated taxonomy) and "OT"
(original taxonomy). See \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1038/s41597-023-02264-2")} for further
information.
select_taxonomy(data, taxonomy)
data |
a |
taxonomy |
a |
A tibble
.
# 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.