writeBigBed: Write gr to bigbed file

View source: R/functions_file_helpers.R

writeBigBedR Documentation

Write gr to bigbed file

Description

Write gr to bigbed file

Usage

writeBigBed(
  gr,
  bbf,
  bedf = sub("\\.bb$", "\\.bed", bbf),
  chrSizes = "~/hg38_chrsizes.txt",
  cleanup_beds = TRUE
)

Arguments

gr

gr to save

bbf

name of final output bigbed file

bedf

name of intermediate bedfiles

chrSizes

chrSizes file to use, default is hg38

cleanup_beds

remove beds when done? TRUE

Value

path to big bed file


jrboyd/ssvRecipes documentation built on May 22, 2022, 7:07 a.m.