Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong: no applicable method for 'unnest' applied to an object of class #89

Open
Wengen-Zhu opened this issue Apr 18, 2023 · 2 comments
Open

Comments

@Wengen-Zhu
Copy link

When I follow the data analysis process of MicrobiotaProcess in wechat(https://mp.weixin.qq.com/s/fG7I4TrUAROmyIDobN06yw).

trda %>% unnest(RareAbundanceBySample) 

RareAbundanceBytime则是每个分组下的物种丰度信息

The following error occurs:

Error in UseMethod("unnest") :    no applicable method for 'unnest' applied to an object of class "c('MPSE', 'SummarizedExperiment', 'RectangularData', 'Vector', 'Annotated', 'vector_OR_Vector')"

I can't solve this problem, anyone who has encountered and dealed with this problem? Thanks.

@xiangpin
Copy link
Member

the trda should be extracted from mpse object, using mp_extract_taxatree.
Please follow the newest vignette of MicrobiotaProcess

@Wengen-Zhu
Copy link
Author

Wengen-Zhu commented Apr 19, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants