R/MultiDataSet-nrow.R

#' @describeIn MultiDataSet Get number of features of each set
#' @aliases nrow
setMethod(
    f = "nrow",
    signature = c("MultiDataSet"),
    definition = function(x) {
        return(vapply(x@featureData, function(y) nrow(y[[1]]), numeric(1)))
    } 
)

Try the MultiDataSet package in your browser

Any scripts or data that you put into this service are public.

MultiDataSet documentation built on Jan. 31, 2021, 2:01 a.m.