Skip to content

Commit

Permalink
Add single quote to the qsvsPCs in the error message
Browse files Browse the repository at this point in the history
  • Loading branch information
HediaTnani committed Jan 16, 2024
1 parent 7c8ee5f commit 657600c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/get_qsvs.R
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ get_qsvs <- function(qsvPCs, k) {

#Validate qsvPCs is a prcomp object
if (!is(qsvPCs, "prcomp")) {
stop("qsvPCs must be a prcomp object.", call. = FALSE)
stop("'qsvPCs' must be a prcomp object.", call. = FALSE)
}

# check that k isn't zero
Expand Down

0 comments on commit 657600c

Please sign in to comment.