R/MultiDataSet-ncol.R

#' @describeIn MultiDataSet Get number of samples of each set
#' @aliases ncol
setMethod(
    f = "ncol",
    signature = c("MultiDataSet"),
    definition = function(x) {
        return(vapply(x@phenoData, 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.