Skip to content

How much percentage of otu (bacteria) are assigned to specific functional group (FAPROTAX) #243

Answered by ChiLiubio
amrvx4 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi. The cal_spe_func_perc function with the parameter abundance_weighted = FALSE is used to get the % of OTUs/ASVs in each sample.

library(microeco)
data(dataset)
test <- trans_func$new(dataset)
test$cal_spe_func(prok_database = "FAPROTAX")
test$cal_spe_func_perc(abundance_weighted = FALSE)
View(test$res_spe_func_perc)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by amrvx4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants