read_bed: Open PLINK .bed file and create gene mapping.

Description Usage Arguments Value

View source: R/data.R

Description

Open PLINK .bed file and create gene mapping.

Usage

1
read_bed(path, ref = "hg19", maxgap = 10000, select = "all")

Arguments

path

Path to .bed file with or without extension.

ref

Reference genome. One of "hg18", "hg19", "hg38", "mm8", "mm9", "mm10", "rn5", "rn6".

maxgap

Maximum allowed distance between SNP and gene.

select

How should SNPs near multiple genes by mapped? Use "all" to use all hits. Use "nearest" to use only nearest gene.

Value

A BEDData object.


SimonLarsen/higana documentation built on April 24, 2020, 7:29 a.m.