Skip to content

Smaller datasets after applying trans_alpha or trans_beta #450

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

You must be logged in to vote

Hi. Maybe there is some ASVs and samples that have 0 abundance. When you use trans_beta class, the useless data is automatically filtered.
To solve this, please remember to add tidy_dataset function in your pipeline to tidy all the data in the microtable object.

mt_ABCD.2 <- microtable$new(sample_table = ABCD.2_metadata, otu_table = counts_ABCD.2, tax_table = tax_ABCD.2)
mt_ABCD.2$tidy_dataset()
mt_ABCD.2

Another way is to set auto_tidy = TRUE

mt_ABCD.2 <- microtable$new(sample_table = ABCD.2_metadata, otu_table = counts_ABCD.2, tax_table = tax_ABCD.2, auto_tidy = TRUE)
mt_ABCD.2

Best,
Chi

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@Dolores22
Comment options

@ChiLiubio
Comment options

Answer selected by Dolores22
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
documentation Improvements or additions to documentation
2 participants