getAreaPerBand: Compute lattice of boundary bins

Description Usage Arguments Details Value

View source: R/melanoma_spatial.R

Description

Given an annotation file and halo infiltration data, compute tibble of Sample, FOV, Halo Version, MaxG, Band, Area, Halo

Usage

1
2
getAreaPerBand(allBoundaries, sample, fov, maxG, outDir = NULL, bb = NULL,
  writeCSVfiles = FALSE, interfaceBins = NULL)

Arguments

sample

sample name

fov

FOV

maxG

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

outDir

if writeCSVfiles=TRUE, files will be written here

bb

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

writeCSVfiles

write lattice band area file in csv format; default=FALSE

interfaceBins

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

aFile

Halo boundary annotation file in XML format

Details

*NOTE: formerly computeBoundaryBinsLattice

Value

tibble


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