getBandAssignments: Get counts of cells that fall within given distances of tumor...

Description Usage Arguments

View source: R/melanoma_spatial.R

Description

Given a set of interface bands, or set distances from a tumor boundary, count the numbers of cells that fall within those bands

Usage

1
getBandAssignments(ds, bb, allBoundaries, interfaceBins = (-36:36) * 10)

Arguments

ds

a tibble containing data for one FOV

bb

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

allBoundaries

a list returned from readHaloAnnotations

interfaceBins

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


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