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

getCrossAssociation: assay.type default value #676

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

Conversation

TuomasBorman
Copy link
Contributor

Currently, getCrossAssociation supports calculating correlation between abundance tables, colData variables or dimred. assay.type has default value "counts", however, if col.var or dimred is used, assay.type is not taken into consideration.

I think it would be more clear if user has to decide the assay explicitly. This PR changes the default value of assay.type to NULL. If nothing is specified, user gets informative error

Error: One of the following parameters must be specified: 'assay.type1', 'col.var1', 'dimred1'.

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.

1 participant