R/probeAnnoFromESet.R

Defines functions probeAnnoFromESet

Documented in probeAnnoFromESet

probeAnnoFromESet <- function(eSet, probeLength) {

    stopifnot(inherits(eSet, "ExpressionSet"), is.numeric(probeLength))

    pos <- data.frame(fData(eSet)$CHR, fData(eSet)$PROBE_ID, fData(eSet)$START, probeLength)
    colnames(pos) <- c("CHROMOSOME", "PROBE_ID", "POSITION", "LENGTH")
    probeAnno <- posToProbeAnno(pos)
    return(probeAnno)
}

Try the SimBindProfiles package in your browser

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

SimBindProfiles documentation built on Nov. 8, 2020, 5:57 p.m.