Skip to content

Commit

Permalink
Update AllGenerics.R
Browse files Browse the repository at this point in the history
fds -> object in setMethod strandSpecific
  • Loading branch information
vyepez88 authored Feb 15, 2024
1 parent f38f1b9 commit 9d9d394
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/AllGenerics.R
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ setReplaceMethod("workingDir", "FraserDataSet", function(object, value) {
#' @export
#' @rdname fds-methods
setMethod("strandSpecific", "FraserDataSet", function(object) {
if(!"strand" %in% colnames(colData(fds))){
if(!"strand" %in% colnames(colData(object))){
warning("Strand is not specified. Please set the used RNA-seq",
" protocol by using 'strandSpecific(object) <- c(...)'.",
"\n\nWe assume as default a non stranded protocol.")
Expand Down

0 comments on commit 9d9d394

Please sign in to comment.