TransformDataMatrix: Correct the query dataset by subtracting the weighted anchor...

View source: R/seurat_anchor_correction.R

TransformDataMatrixR Documentation

Correct the query dataset by subtracting the weighted anchor vectors

Description

Correct the query dataset by subtracting the weighted anchor vectors

Usage

TransformDataMatrix(
  ref_mat,
  query_mat,
  integration.matrix,
  weights,
  verbose = FALSE
)

Arguments

ref_mat

a (cell x feature) protein expression matrix

query_mat

a (cell x feature) protein expression matrix to be corrected

integration.matrix

matrix of anchor vectors (output of FindIntegrationMatrix)

weights

weights of the anchors for each query cell (output of FindWeights)

verbose

...

Value

a (cell x feature) corrected data matrix the original reference data appended to the corrected query data


CamaraLab/STvEA documentation built on March 27, 2024, 8:58 a.m.