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

Does the largest_complete_subset cause misalignment between the metabolites and the samples? #2

Open
cjy8s opened this issue Jun 24, 2024 · 0 comments

Comments

@cjy8s
Copy link

cjy8s commented Jun 24, 2024

Assuming that the arrangment of the data is the same in your figures, so that rows are metabolites and columns are samples, then looking at the script for the largest_complete_subset, it looks like this function causes misalignment between the samples and metabolites. For example, if metabolite A once belonged to sample 2, and metabolite A is removed to the end of the row because its value was NA, then instead of sample 2 having its own metabolite A (which is an NA), it would have sample 3's metabolite A (not NA) and then the last sample would have sample 2's metabolite A (NA). Am I correct in my thought that all of the values in that row would shift to maintain the matrix structure, causing misalignment between the metabolites and the samples that they came from? Or is the data transposed compared to the figures from this paper?

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

1 participant