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

metadata mapping by sample name #26

Open
nick-youngblut opened this issue May 14, 2021 · 4 comments
Open

metadata mapping by sample name #26

nick-youngblut opened this issue May 14, 2021 · 4 comments

Comments

@nick-youngblut
Copy link

Although not explicit in the README, it appears that the metadata table must have the same sample order as the sample x feature table. For the sake of users who want to make sure that the correct samples are mapped to the correct metadata, it would be helpful to allow users to include a Sample column in the metadata table that will map the metadata to the correct sample in the sample x feature table.

@jtackm
Copy link
Member

jtackm commented May 19, 2021

True, this should definitely be added to the README (I'm actually surprised it isn't). I was pondering to allow user-provided index columns, but didn't get around to implement it yet because there are a number of special cases to consider. Anyways, I agree it would be a good convenience feature.

@nick-youngblut
Copy link
Author

Great! It would also be a good sanity check to make sure that the user has actually correctly ordered both tables.

@Dalcon2704
Copy link

Dalcon2704 commented Mar 26, 2024

Since there is no information about this problem in the README yet. The problem have been fixed or you have to still sort the metadata?

@jtackm
Copy link
Member

jtackm commented Mar 28, 2024

Yes, metadata still has to be aligned between OTU table and meta data table. I added a statement to the README now.

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

No branches or pull requests

3 participants