funguild_db: 'funguild_db': Creating table for FUNGuild.

Description Usage Arguments Examples

View source: R/funguild_db.R

Description

Creating table for analysis of FUNGuild.

Usage

1
funguild_db(.otu_table, .identify_list, .tax_pat)

Arguments

.otu_table

table (see example).

.identify_list

identifying result (see example).

.tax_pat

character, specify taxonomic levels containing .identify_list in same order.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
# make otu table.
otu_table <- data.frame(
   samplename = c("sample1", "sample2"),
   otu1 = c(1, 0),
   otu2 = c(0, 39)
)

# make identify list.
identify_list <- data.frame(
   otu = c("otu1", "otu2"),
   phylum = c("p1", "p2"),
   order = c("o1", "o2"),
   family = c("f1", "f2"),
   genus = c("g1", "g2")
)

funguild_db(.otu_table = otu_table,
            .identify_list = identify_list,
            .tax_pat = c("phylum", "order", "family", "genus"))

Hide-Fun/teco documentation built on July 28, 2021, 7:41 a.m.