R/imExposomeSet-pData.R

setMethod(
    f = "pData",
    signature = "imExposomeSet",
    definition = function(object) {
        return(object@phenoData)
    }
)


setReplaceMethod(
    f = "pData",
    signature = signature("imExposomeSet", "data.frame"),
    definition = function(object, value) {
        object@phenoData <- value
        object
})

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.