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

Contrast that is not included in design throws error #170

Open
WackerO opened this issue Nov 9, 2022 · 0 comments
Open

Contrast that is not included in design throws error #170

WackerO opened this issue Nov 9, 2022 · 0 comments
Labels
bug Something isn't working enhancement New feature or request

Comments

@WackerO
Copy link
Collaborator

WackerO commented Nov 9, 2022

Description of the bug

When running rnadeseq with a contrast list that contains a factor not described in the design file, the following error is thrown:

Error in cleanContrast(object, contrast, expanded = isExpanded, listValues = listValues, :
as 16H is the reference level, was expecting condition_time_1H_vs_16H to be present in 'resultsNames(object)'

This example error resulted from the test dataset with the design and contrast list attached to this issue. I should add a check that controls for all the contrast options, not just list, if the respective contrasts are also provided as design elements, and if not, throws a clearer error to explain to users what is the problem

Command used and terminal output

No response

Relevant files

design.txt
contrast_list.csv

System information

No response

@WackerO WackerO added the bug Something isn't working label Nov 9, 2022
@WackerO WackerO added the enhancement New feature or request label Jan 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant