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

Warning when using default zero option #85

Open
drisso opened this issue May 3, 2017 · 0 comments
Open

Warning when using default zero option #85

drisso opened this issue May 3, 2017 · 0 comments
Labels

Comments

@drisso
Copy link
Contributor

drisso commented May 3, 2017

Because the default value of zero in scone is zero = c("none", "preadjust", "postadjust", "strong"), the following line throws a warning:
https://github.com/YosefLab/scone/blob/master/R/scone_main.R#L177

the condition has length > 1 and only the first element will be used

Adding the following line before L177 should fix it.

zero <- match.arg(zero)
@drisso drisso added the bug label May 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant