traitScreen: Filter prescreened myDNA object filter for trait of interest

Description Usage Arguments Details Author(s) Examples

View source: R/genomeScreens.R

Description

Filter prescreened myDNA object filter for trait of interest

Usage

1
traitScreen(myScreenDNA, trait = "all", risk = "high.protective")

Arguments

myScreenDNA

GRanges object, output of importDNA function

trait

(character) which trait are you interested in

risk

(character; default "high") "high" -> OR>=1.5, "elavated" -> OR >1&<1.5 "protective" -> OR >0.75&<1 "high.protective" -> OR <0.75,

Details

This function allows you to filter your imported myDNA object + overlapped with database of interest (GWASCatalog) by selecting trait in which you are interested in, and selecting category of SNPs. For example, high risk SNPs are those which have reported OR or beta >1.5.

Author(s)

Inga Patarcic

Examples

1
2
3
4
5
6
7
8
## Not run: 
myAchille <- traitScreen(myScreenDNA, risk="high")
myDepression <- traitScreen(myScreenDNA, risk="all",
trait="unipolar depression")
myDepression.high <- traitScreen(myScreenDNA, risk="high",
trait="unipolar depression")

## End(Not run)

IngaPa/myDNA documentation built on Oct. 30, 2019, 7:22 p.m.