View source: R/CARD.imputation.R
Sigma | R Documentation |
Calculate the variance covariance matrix used in the imputation of the new grided locations
Sigma(locationOrig, trainInd, testInd, OptimalPhi, ineibor)
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 |
OptimalPhi |
Numeric, the optimal phi value stored in CARD_object |
ineibor |
Numeric, number of neighbors used in the imputation on newly grided spatial locations, default is 10. |
Return a list with the imputed Cell type composition Vtest matrix on the newly grided spatial locations and predicted normalized gene expression
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.