ranges2UCSC: Generates a bedfile from an input GRanges file.

View source: R/export.R

ranges2UCSCR Documentation

Generates a bedfile from an input GRanges file.

Description

Write a bedfile from Genomic Ranges object for upload on to UCSC Genome browser.

Usage

ranges2UCSC(
  gr,
  outputDirectory = ".",
  index = "bedFile",
  colorRGB = "0,0,0",
  id.field = ""
)

Arguments

gr

A GRanges-class object with genomic ranges to be exported into UCSC format.

outputDirectory

A path to directory where to save UCSC bed file.

colorRGB

An RGB color to be used for submitted ranges.

id.field

A name of metacolumn field to use as a name for each range.

Value

NULL

Author(s)

David Porubsky


daewoooo/primatR documentation built on Oct. 22, 2024, 9:41 p.m.