shiftCountsOne {GeomxTools} | R Documentation |
Add one to all counts in an expression matrix
shiftCountsOne(object, elt = "exprs", useDALogic = FALSE)
object |
name of the NanoStringGeoMxSet object |
elt |
expression matrix element in |
useDALogic |
boolean to use the same logic in DA (impute 0s to 1s) or set to FALSE to shift all counts by 1 |
object of NanoStringGeoMxSet class
datadir <- system.file("extdata", "DSP_NGS_Example_Data", package="GeomxTools") demoData <- readRDS(file.path(datadir, "/demoData.rds")) shiftCountsOne(demoData)