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

Update create_mofa.R #166

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

willisbillis
Copy link

For datasets that have a modality (and groups information) with N cells and another modality that has less than N cells, using the groups metadata for the second modality will result in indexing outside of the range of the smaller modality and throw an error when generating the MOFA object. This ensures that the underrepresented modality is not indexed out of its range.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
For datasets that have a modality (and groups information) with N cells and another modality that has less than N cells, using the groups metadata for the second modality will result in indexing outside of the range of the smaller modality and throw an error when generating the MOFA object. This ensures that the underrepresented modality is not indexed out of its range.
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

Successfully merging this pull request may close these issues.

None yet

1 participant