smartLayerAllocation.RdReturns a numeric vector saying how to weight a particular cell for each layer, using a smart weighting strategy
smartLayerAllocation(
layerIn,
useLayer = "L1",
spillFactor = 0.15,
weightCutoff = 0.02,
layerNm = c("L1", "L2/3", "L4", "L5", "L6")
)a list corresponding to all layers of dissection for a given sample
target layer
fractional amount of cells in a layer below which it is assumed no cells are from that layer in multilayer dissection
anything less than this is set to 0 for convenience and to avoid rare types
names of all layers. set to NULL to have this calculated
numeric vector saying how to weight a particular cell for each layer, using a smart weighting strategy