Skip to content

Commit

Permalink
Update RNAsequences.R
Browse files Browse the repository at this point in the history
  • Loading branch information
KJeynesCupper authored Feb 26, 2024
1 parent ecfb405 commit c51ddd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/RNAsequences.R
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ RNAsequences <- function(data, original = FALSE, method = c("consensus", "set"),
stop("data is missing. data must be an object of class matrix, data.frame,
DataFrame")
}
if (base::missing(method) || method %in% c("consensus", "set")) {
if (base::missing(method) || !method %in% c("consensus", "set")) {
stop("Please specify the method parameter, must be either `consensus` or`set`. ")
}
df <- data %>% # select only columns with RNA seqs, remove columns with only NA values
Expand Down

0 comments on commit c51ddd3

Please sign in to comment.