read_bed: Import a bed file into R as a tibble

View source: R/genomics_files_utils.R

read_bedR Documentation

Import a bed file into R as a tibble

Description

Import a bed file into R as a tibble

Usage

read_bed(path, header)

Arguments

path

Path to bed file in your system specified as character

header

Is the bed file first line specifying the column names?

Details

If header = F than the UCSC official bed files column names are added.

Value

A tibble

Examples

read_bed(path = 'path/to/bed/file', header = F)

Ni-Ar/niar documentation built on Feb. 3, 2025, 9:25 a.m.