layerScale: Fraction of cells per layer

View source: R/markerGenesAndMapping.r

layerScaleR Documentation

Fraction of cells per layer

Description

Determines the expected proportions in each layer based on input

Usage

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


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