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

Arguments

object

An object of class Enrichment.

type

A character definined the type of data to extract Extract, i.e., "eSNP" or "xSNP".

Value

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

Examples

if (interactive()) { data(toyEnrichment) eSNPenriched <- getEnrichSNP(object = toyEnrichment, type = "eSNP") head(eSNPenriched) }