View source: R/CARD.imputation.R
normCoordsTrainTest | R Documentation |
Normalize the new spatial locations without changing the shape and relative positions
normCoordsTrainTest(locationOrig, trainInd, testInd)
locationOrig |
Data frame, spatial location data frame of the original spatial resolved transcriptomics dataset, stored in the CARD_object@spatial_location |
trainInd |
Vector, Index of the original spatial locations |
testInd |
Vector, Index of the newly grided spatial locations |
Return the normalized spatial location data frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.