vsea: Variant Set Enrichment Analysis

Description Usage Arguments Value

View source: R/vsea.R

Description

Variant Set Enrichment Analysis

Usage

1
2
vsea(snp, region, population,
  plink = "/Users/boshliu/Documents/tools/plink_mac/plink", bg_size = 200)

Arguments

snp

A vector of SNP IDs (format: chr:pos, e.g. 12:56115585)

region

A data.table of genomic regions. Must have three columns chr, start and end

plink

The path to plink

bg_size

The number of background variant per SNP ID. Default = 200

Value

A list with two elements. The first element contains enrichment P-value. The second element contains enrichment odds ratio and standard error


boxiangliu/vsea documentation built on May 20, 2019, 5:56 p.m.