calculateInfiltrationDensity: Calculate density of set of markers (marker combinations)

Description Usage Arguments Value

View source: R/melanoma_spatial.R

Description

Based on pre-computed areas and band assignments (may be one band, depending on how area was calculated), calculate densities for a set of markers in each band

Usage

1
2
calculateInfiltrationDensity(areas, bandAssignments, markerSet, outFile,
  writeCSVfiles = TRUE)

Arguments

areas

tibble containing area by band

bandAssignments

tibble containing band assignments for each cell

markerSet

vector of markers for which density should be calculated

writeCSVfiles

logical; write density to csv files; default=FALSE

outDir

logical; if writeCSVfiles is TRUE, write them to this directory

Value

tibble containing densities for each marker type


caitlinjones/halo documentation built on May 7, 2019, 8 a.m.