get.observed.ct: get.observed.ct

Description Usage Arguments Value Examples

Description

This function is used to get the observed contingency table for a given pair of genes.

Usage

1
2
3
4
get.observed.ct(object, g1, g2)

## S4 method for signature 'scCOTAN'
get.observed.ct(object, g1, g2)

Arguments

object

The cotan object

g1

A gene

g2

The other gene

Value

A contingency table as dataframe

Examples

1
2
3
4
data("ERCC.cotan")
g1 = rownames(ERCC.cotan@raw)[sample(nrow(ERCC.cotan@raw), 1)]
g2 = rownames(ERCC.cotan@raw)[sample(nrow(ERCC.cotan@raw), 1)]
get.observed.ct(object = ERCC.cotan, g1 = g1, g2 = g2)

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