calculateBandAreas: Calculate area of interface bands, each defined as the...

Description Usage Arguments Value

View source: R/melanoma_spatial.R

Description

Calculate area of each band, defined as the collection of cells that are located between X and Y microns of the tumor boundary [ TO DO: REWORD THIS? ] **Do this for 10^maxG and for 10^maxG-1

Usage

1
calculateBandAreas(allBoundaries, maxG = 5, bb, interfaceBins)

Arguments

allBoundaries

halo boundaries after removal of contained boundaries (list returned by cleanBoundaries())

maxG

maximum factor of 10 to use for generating random points on grid [ REWORD??? ]

bb

a list containing X0,X1,Y0,Y1 representing the boundary of the trimmed FOV

interfaceBins

vector of distances (integers) that define each band; default = (-20:20)*10

Value

a dataframe with a row for each interface bin and a column for each area calculation (one for 10^maxG and one for 10^maxG-1)


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