getEnrichSNP: Get all eSNP/xSNP which are enriched

Description Arguments Value Examples

Description

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

1
2
3
4
5
if (interactive()) {
  data(toyEnrichment)
  eSNPenriched <- getEnrichSNP(object = toyEnrichment, type = "eSNP")
  head(eSNPenriched)
}

mcanouil/snpEnrichment documentation built on Sept. 19, 2021, 1:21 a.m.