plot_GDI: plot_GDI

Description Usage Arguments Value Examples

Description

This function directly evaluate and plot the GDI for a sample.

Usage

1
2
3
4
plot_GDI(object, cond, type = "S")

## S4 method for signature 'scCOTAN'
plot_GDI(object, cond, type = "S")

Arguments

object

A COTAN object

cond

A string corresponding to the condition/sample (it is used only for the title)

type

Type of statistic to be used. Default is "S": Pearson's chi-squared test statistics. "G" is G-test statistics

Value

A ggplot2 object

Examples

1
2
data("ERCC.cotan")
plot_GDI(ERCC.cotan, cond = "ERCC")

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