calcDistancesFromTumorBoundary: Calculate distances from each cell to nearest point on tumor...

Description Usage Arguments Value

View source: R/melanoma_spatial.R

Description

Calculate distances from each cell to nearest point on tumor boundary

Usage

1
2
calcDistancesFromTumorBoundary(dat, aFiles = NULL, haloAnnotations = NULL,
  writeCSVfiles = TRUE, outDir = NULL, interfaceBins = (-36:36) * 10)

Arguments

dat

Halo data for one sample or more samples, loaded from *.rda file(s)

aFiles

a vector of Halo boundary annotation files, with '.annotations' extension in XML format

writeCSVfiles

logical indicating whether to write density and area tables to file; default=TRUE

outDir

if writeCSVfiles=T, directory to which these files will be written

interfaceBins

a vector of distances from tumor interface in which cells will be binned; default=(-36:36)*10

Value

table of all cells including distance to nearest tumor boundary and band assignments


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