is.enrichment: Is an Enrichment object

Description Usage Arguments Author(s) See Also Examples

Description

'is.enrichment' returns 'TRUE' if 'x' is an Enrichment object and 'FALSE' otherwise.

Usage

1
is.enrichment(object)

Arguments

object

[ANY]: object to be tested.

Author(s)

Mickael Canouil mickael.canouil@good.ibl.fr

See Also

Overview : snpEnrichment-package
Classes : Enrichment, Chromosome, EnrichSNP
Methods : plot, reSample, getEnrichSNP, excludeSNP, compareEnrichment,
enrichment, is.enrichment, chromosome, is.chromosome
Functions : initFiles, writeLD, readEnrichment

Examples

1
2
3
4
5
6
7
8
a <- enrichment()
c <- enrichment()
is.enrichment(list())                # FALSE
is.enrichment(1)                     # FALSE
is.enrichment(a)                     # TRUE
is.enrichment(c(a, c))               # TRUE TRUE
is.enrichment(list(a, b = "char"))   # TRUE FALSE
is.enrichment(c(a, b = list(12, c))) # TRUE FALSE TRUE

snpEnrichment documentation built on May 2, 2019, 8:44 a.m.