boundingBox | R Documentation |
Computes the minimum and maximum coordinates per dimension (including time) for all positions in a given list of tracks.
boundingBox(x)
x |
the input |
Returns a matrix with two rows and d+1
columns, where d
is
the number of spatial dimensions of the tracks. The first row contains the minimum
and the second row the maximum value of any track in the dimension given by
the column.
## Use bounding box to set up plot window
bb <- boundingBox(c(TCells,BCells,Neutrophils))
plot( Neutrophils, xlim=bb[,"x"], ylim=bb[,"y"], col=1 )
plot( BCells, col=2, add=TRUE )
plot( TCells, col=3, add=TRUE )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.