computeBandAreasMC: Compute band areas for each interface bin

Description Usage Arguments

View source: R/melanoma_spatial.R

Description

Given a list of distances from a tumor boundary, or 'interface bins', calculate area for each bin using a sobol grid

Usage

1
2
computeBandAreasMC(tumorBoundariesList, bb, interfaceBins, nGrid = 100,
  maxSeg = 1000, exclusionB)

Arguments

tumorBoundariesList

a list where each element is a tibble containing tumor boundaries returned from readHaloAnnotations()

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

nGrid

number of random points to use for area calculations; default=100

maxSeg

maximum segments to divide long boundary segments into; default=1000

exclusionsB

a list where each element is a tibble containing exclusion boundaries returned from readHaloAnnotations()


caitlinjones/halo documentation built on Sept. 27, 2018, 9:28 p.m.