pvals_Order: Taxa importance ordering by PERFect p-values

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/utility_functions.R

Description

This function orders taxa by increasing significance of simultaneous PERFect p-values.

Usage

1
pvals_Order(Counts, res_sim)

Arguments

Counts

OTU COUNTS table, where taxa are columns and samples are rows of the table. It should be a in data frame format with columns corresponding to taxa names.

res_sim

Output of PERFect_sim() function.

Value

Order_pvals Taxa names in increasing order of p-values significance.

Author(s)

Ekaterina Smirnova

References

Smirnova, E., Huzurbazar, H., Jafari, F. “PERFect: permutation filtration of microbiome data", to be submitted.

See Also

PERFect_sim, PERFect_perm

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
data(mock2)

# Proportion data matrix
Prop <- mock2$Prop

# Counts data matrix
Counts <- mock2$Counts

# Perform simultaenous filtering of the data
res_sim <- PERFect_sim(X=Counts)

#order according to p-values
pvals_sim <- pvals_Order(Counts, res_sim)

PERFect documentation built on Nov. 8, 2020, 7:43 p.m.