View source: R/CARD.imputation.R
sampleGridWithin | R Documentation |
Make new spatial locations on unmeasured tissue through grids.
sampleGridWithin(location, numSample, concavity = 2)
location |
Data frame, spatial location data frame of the original spatial resolved transcriptomics dataset, stored in the CARD_object@spatial_location |
numSample |
Numeric, approximate number of cells in grid within the shape of the spatial location data frame |
concavity |
Numeric, a relative measure of concavity. The default is 2.0, which can prodecure detailed enough shapes. Infinity results in a convex hull while 1 results in a more detailed shape. |
Return a list of data frame with newly grided points
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.