R/beadLevelData_sectionData.R

Defines functions getSectionData insertSectionData

Documented in insertSectionData

insertSectionData <- function(BLData, what, data) {


	BLData@sectionData[[what]] <- data.frame(data)
    	return(BLData)


}


getSectionData = function(BLData, what = NULL) {

	if(is.null(what)) BLData@sectionData

	else if(!(what %in% names(BLData@sectionData))) stop("Could not find data ", what, " in sectionData\n, Possible entries", paste(names(BLData@sectionData), collapse=" "))

	else BLData@sectionData[[what]]

}

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.