snpProb: Estimate sample probability for each SNP from gene density

Description Usage Arguments

View source: R/simPheno.R

Description

Estimate sample probability for each SNP from gene density

Usage

1
snpProb(gene.pos, snp.pos, bw = 10000)

Arguments

gene.pos

a matrix of two columns. The first column contains the chromosome, the second column contains the position of a gene (e.g. start in bp).

snp.pos

a matrix of two rcolumns. The first column contains the chromosome, the second column contains the position of a SNP in bp.

bw

see density.


QTCAT/qtcat.data documentation built on April 20, 2021, 11:20 p.m.