Returns a numeric vector saying how to weight a particular cell for each layer. This is a wrapper for smartLayerAllocation

layerFraction(layerIn, useLayer = "L1", cluster = NA, ...)

Arguments

layerIn

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

useLayer

target layer

cluster

if passed the weights are smartly allocated based on laminar distributions by cluster

...

additional variables for smartLayerAllocation

Value

numeric vector with weights for cells in input layer