Conversation
|
@TuomasBorman @antagomir This is ready to merge |
TuomasBorman
left a comment
There was a problem hiding this comment.
Looks good! Couple points (see comments)
| Note that agglomeration by taxonomic rank might produce duplicate feature names, | ||
| such as "uncultured". If present, they can be made unique as follows: | ||
|
|
There was a problem hiding this comment.
Should this be handled by default, so that there should not be duplicated names?
There was a problem hiding this comment.
Do you mean model mofa should return an error/warning if names are duplicated? Or making them unique inside the mofa function?
I think users would better off make the names unique before running mofa, otherwise the link between original names and unique names is lost and users cannot trace the results back to their original set of features.
There was a problem hiding this comment.
Sorry, I checked this quickly.
I meant that
agglomerateByPrevalence() should output unique feature names by default
There was a problem hiding this comment.
Oh ok, so this chunk can be safely removed, correct?
Updated the grouping variable from 'Diet' to 'Fat' in the MOFA2 model.
With this PR, the chapter on MOFA2 is updated to reflect the streamlined MOFA2 pipeline using the
mofa2wrapper that was recently implemented with this PR: bioFAM/MOFA2#144.