Determines the expected proportions in each layer based on input

layerScale(layerIn, layerNm = c("L1", "L2/3", "L4", "L5", "L6"), scale = TRUE)

Arguments

layerIn

a list corresponding to all layers of dissection for a given sample

layerNm

names of all layers. set to NULL to have this calculated

scale

if TRUE (default), scale to the total number of cells

Value

vector indicating the fraction of cells in each layerNm layer