Description Usage Arguments Value Examples
This function is used to get the observed contingency table for a given pair of genes.
1 2 3 4 | get.observed.ct(object, g1, g2)
## S4 method for signature 'scCOTAN'
get.observed.ct(object, g1, g2)
|
object |
The cotan object |
g1 |
A gene |
g2 |
The other gene |
A contingency table as dataframe
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.