print-methods: Print method (S4)

Description Usage Arguments Value Author(s) See Also Examples

Description

print is a generic function used to print results.

Usage

1
2
3
4
5
## S4 method for signature 'Enrichment'
print(x, what = "Genome", type = c("eSNP", "xSNP"))

## S4 method for signature 'Chromosome'
print(x, type = c("eSNP", "xSNP"))

Arguments

x

[Enrichment or Chromosome]: an object of class Enrichment or Chromosome.

what

[character or numeric]: what="Genome" (default) to print results as a matrix. what could be "All", "Genome" or a numeric from 1 to 22 (numeric vector is allowed).

type

[character]: select if results for "eSNP" and/or "xSNP" should be print.

Value

Return a matrix for classes Enrichment and Chromosome.

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

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