tbl_genome: Tibble for reference sizes.

Description Usage Arguments Value Examples

View source: R/tbls.r

Description

Equivalent to information in UCSC "chromSizes" files. Required column names are: chrom and size

Usage

1
2
3
tbl_genome(x, ..., .validate = TRUE)

trbl_genome(...)

Arguments

x

A data_frame

...

params for tibble::tibble()

.validate

check valid column names

Value

tbl_genome()

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
genome <- tibble::tribble(
  ~chrom, ~size,
  'chr1', 1e6,
  'chr2', 1e7
)

is.tbl_genome(genome)
genome <- tbl_genome(genome)
is.tbl_genome(genome)

trbl_genome(
  ~chrom, ~size,
  'chr1', 1e6
)

rnabioco/valr documentation built on Jan. 6, 2019, 9:06 a.m.