gwas2bed: Converts a MAP data.frame to a BED data.frame

View source: R/utils.R

gwas2bedR Documentation

Converts a MAP data.frame to a BED data.frame

Description

Takes a map file and:

  • column 1: Used as the chromosome column in the BED file.

  • column 4: Used as start and end in the BED data.frame (as we work with SNPs).

Usage

gwas2bed(gwas)

Arguments

gwas

A SnpMatrix object with the GWAS information.

Value

A BED data.frame.


hclimente/martini documentation built on Feb. 26, 2024, 6:23 p.m.