Skip to content

Commit 26d83e0

Browse files
committed
fix variable_meta assignment
1 parent 95313f9 commit 26d83e0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

R/DatasetExperiment_class.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ setMethod(f = "$<-",
103103
assay(x,1) = value
104104
} else if (name %in% c('sample_meta')) {
105105
rowData(x) = S4Vectors::DataFrame(value)
106-
} else if (name %in% c('sample_meta')) {
106+
} else if (name %in% c('variable_meta')) {
107107
colData(x) = S4Vectors::DataFrame(value)
108108
}
109109
return(x)

R/generics.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ setGeneric("model_train",function(M,D)standardGeneric("model_train"))
297297

298298
#' Model prediction
299299
#'
300-
#' Apply a model using the input dataset_ Assumes the model is trained
300+
#' Apply a model using the input dataset. Assumes the model is trained
301301
#' first.
302302
#' @param M a model object
303303
#' @param D a dataset object

0 commit comments

Comments
 (0)