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)
  }
)
isglobal-brge/rexposome documentation built on Feb. 4, 2023, 12:35 p.m.