R/ExWAS-names.R

#' @describeIn ExWAS Method to obtain the Threshold for effective tests (TEF)
setMethod(
    f = "names",
    signature = "ExWAS",
    definition = function(x) {
        if(nrow(x@comparison) > 0) {
            unique(sapply(strsplit(rownames(x@comparison), "\\$"), "[[", 1))
        } else {
            character()
        }
    }
)

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.