R/ExposomeClust-classification.R

#' @describeIn ExposomeClust Return classe asigned to each sample
setMethod(
  f = "classification",
  signature = "ExposomeClust",
  definition = function(object) {
    c <- pData(object)$cluster
    names(c) <- rownames(pData(object))
    return(c)
  }
)

Try the rexposome package in your browser

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

rexposome documentation built on March 13, 2021, 2:01 a.m.