Get all eSNP/xSNP which are enriched

Share:

Description

getEnrichSNP get all eSNP/xSNP in a Enrichment object which are significant in the signal according to sigThresh defined in readEnrichment.

Usage

1
2
## S4 method for signature 'Enrichment'
getEnrichSNP(object, type = "eSNP")

Arguments

object

[Enrichment]: an object of class Enrichment.

type

[character]: extract eSNP or xSNP data.

Value

Return a data.frame with eSNP/xSNP which are enriched in signal given to signalFile in function readEnrichment.

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
## Not run: data(toyEnrichment)
eSNPenriched <- getEnrichSNP(object = toyEnrichment, type = "eSNP")
head(eSNPenriched)
## End(Not run)