CARDfree: SpatialDeconv function based on Conditional Autoregressive...

View source: R/RcppExports.R

CARDfreeR Documentation

SpatialDeconv function based on Conditional Autoregressive model

Description

SpatialDeconv function based on Conditional Autoregressive model

Usage

CARDfree(
  XinputIn,
  UIn,
  WIn,
  phiIn,
  max_iterIn,
  epsilonIn,
  initV,
  initb,
  initSigma_e2,
  initLambda
)

Arguments

XinputIn

The input of normalized spatial data

UIn

The input of cell type specific basis matrix B

WIn

The constructed W weight matrix from Gaussian kernel

phiIn

The phi value

max_iterIn

Maximum iterations

epsilonIn

epsilon for convergence

initV

Initial matrix of cell type compositions V

initb

Initial vector of cell type specific intercept

initSigma_e2

Initial value of residual variance

initLambda

Initial vector of cell type sepcific scalar.

Value

A list


YingMa1993/CARD documentation built on Feb. 14, 2024, 12:24 p.m.