R/beadLevelData_getBeadData.R

Defines functions getBeadData

Documented in getBeadData

getBeadData <- function(BLData, what = "Grn", array = 1){
    ##Subset to get all data for the array
    tmp = BLData[[array]]

    m = match.arg(what, colnames(tmp))

    if(is.na(m)) 
        stop("Could not find bead data of type ", what, "\n The available choices are: ", paste(colnames(tmp)), "\n")
        
    return(tmp[,m])
}

Try the beadarray package in your browser

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

beadarray documentation built on Nov. 8, 2020, 4:51 p.m.