derif: Column gradient for the loss function based on Pearson...

Description Usage Arguments Author(s)

View source: R/RcppExports.R

Description

A specific implementation of column gradient to be used in the main coordinate gradient descent algorithm scBatchCpp

Usage

1
derif(c, w, d, core, idx)

Arguments

c

The original p*n batch effect data with n subjects and p RNA-seq measurements.

w

An initial n*n weight matrix to conduct linear transformation. Default to be identity matrix if not specified.

d

The n*n distance matrix obtained by QuantNorm.

core

Pre-calculated component from main algorithm in order to save computation time.

idx

Random selected columns input from the main algorithm.

Author(s)

Teng Fei. Email: tfei@emory.edu


tengfei-emory/scBatch documentation built on June 6, 2021, 10:22 p.m.