Description Usage Arguments Value Examples
View source: R/prepareDataforGlm.R
Given two well level matrices combined by prepareDataforGlm, normalize the data.
1 2 | normalizeMoltenData(data, features = "all", method = "zScore",
separate.wells = FALSE)
|
data |
The data frame holding the data to be normalized. |
features |
A regular expression specifying the features to be normalized. The string "all" includes all available. |
method |
A string specifying the normalization method to be used. The following are implemented: unitInterval, scaleRange, center, unitVar, zScore. |
separate.wells |
Are the two wells to be treated seperately or concurrently? |
A data.frame holding normalized data.
1 2 3 4 5 6 7 8 | wells <- findWells(plates="J107-2C", well.names=c("H2", "H6"))
data <- unlist(getSingleCellData(wells), recursive=FALSE)
cleaned <- lapply(data, cleanData, "lower")
melted <- lapply(cleaned, meltData)
data.mint <- prepareDataforGlm(melted[[2]]$mat$Cells,
melted[[1]]$mat$Cells, test=NULL)$train
data.scal <- normalizeMoltenData(data.mint, features="intensity",
method="unitInterval")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.