YosefLab/scone

Warning when using default zero option

Opened this issue · 0 comments

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)