sparkg_sw: Fast Test for the Gaussian version of SPARK through...

View source: R/sparkg_sw.R

sparkg_swR Documentation

Fast Test for the Gaussian version of SPARK through Satterthwaite Approximation

Description

Efficient Test with Satterthwaite Approximation in Gaussian Models.

Usage

sparkg_sw(counts, location, verbose = FALSE)

Arguments

counts:

A n x p gene expression matrix (sparseMatrix)

location:

A n x d location matrix

verbose:

A boolean value whether to print details, for debug purpose

Value

A list of estimated parameters

stats

A n x 10 matrix of test statistics for all kernels

res_stest

A n x 10 matrix of P values for all kernels

res_mtest

A n x 2 matrix of combined P values and BY-adjusted P values


xzhoulab/SPARK documentation built on Nov. 20, 2022, 2:54 p.m.