Description Usage Arguments Value
View source: R/melanoma_spatial.R
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
1 | calculateBandAreas(allBoundaries, maxG = 5, bb, interfaceBins)
|
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 |
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.