get.pval: get.pval

Description Usage Arguments Value Examples

Description

This function computes the p-values for genes in the COTAN object. It can be used genome-wide or setting some specific genes of interest. By default it computes the p-values using the S statistics (χ^{2})

Usage

1
2
3
4
get.pval(object, gene.set.col = c(), gene.set.row = c(), type_stat = "S")

## S4 method for signature 'scCOTAN'
get.pval(object, gene.set.col = c(), gene.set.row = c(), type_stat = "S")

Arguments

object

a COTAN object

gene.set.col

an array of genes. It will be put in columns. If left empty the function will do it genome-wide.

gene.set.row

an array of genes. It will be put in rows. If left empty the function will do it genome-wide.

type_stat

By default it computes the S (χ^{2})

Value

a p-value matrix

Examples

1
2
data("ERCC.cotan")
ERCC.cotan = get.pval(ERCC.cotan,type_stat="S")

seriph78/COTAN_stable documentation built on Dec. 23, 2021, 12:19 a.m.