normCoordsTrainTest: Normalize the new spatial locations without changing the...

View source: R/CARD.imputation.R

normCoordsTrainTestR Documentation

Normalize the new spatial locations without changing the shape and relative positions

Description

Normalize the new spatial locations without changing the shape and relative positions

Usage

normCoordsTrainTest(locationOrig, trainInd, testInd)

Arguments

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

Value

Return the normalized spatial location data frame


YingMa0107/CARD documentation built on Feb. 14, 2024, 12:23 p.m.