Equivalent to information in UCSC "chromSizes" files. Required column names are:
chrom
and size
Construct a tbl_genome using tribble formatting.
tbl_genome(x, ..., .validate = TRUE) trbl_genome(...)
x | A |
---|---|
... | params for |
.validate | check valid column names |
tbl_genome()
#> [1] FALSE#> [1] TRUEtrbl_genome( ~chrom, ~size, 'chr1', 1e6 )#> # A tibble: 1 x 2 #> chrom size #> <chr> <dbl> #> 1 chr1 1000000