View source: R/melanoma_spatial.R
Given a set of interface bands, or set distances from a tumor boundary, count the numbers of cells that fall within those bands
1 | getBandAssignments(ds, bb, allBoundaries, interfaceBins = (-36:36) * 10)
|
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.