sparkx_pval: Calculate SPARK-X P-values

View source: R/sparkx.R

sparkx_pvalR Documentation

Calculate SPARK-X P-values

Description

Calculate SPARK-X P-values

Usage

sparkx_pval(igene, lambda_G, lambda_K, allstat)

Arguments

igene:

A gene index

lambda_G:

A p-vector of eigen values for all genes

lambda_K:

A d-vector of eigen values of kernel being tested

allstat:

A p-vector of test statistics for all genes

Value

A vector of p values


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