layerFraction: Layer weights per cell

View source: R/markerGenesAndMapping.r

layerFractionR Documentation

Layer weights per cell

Description

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

Usage

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


AllenInstitute/mfishtools documentation built on July 5, 2023, 4:20 p.m.