Description Usage Arguments Details Value Validation Examples
View source: R/read_genomesize.R
Read Genome-Size Files
1 |
file |
Pathname to a ‘*.genomesize’ file. |
... |
Additional arguments passed to |
This file originates from https://github.com/VRam142/combinatorialHiC.
A data.frame with four columns:
|
Chromosome label |
|
Number of nucleotides in chromosome |
The read_genomsize()
function does some basic validation on the
values read.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | path <- system.file("extdata", package = "GSE84920.parser")
file <- file.path(path, "combo_hg19_mm10.genomesize")
data <- read_genomesize(file)
print(data)
# # A tibble: 43 x 2
# chr length
# <chr> <int>
# 1 human_chr1 249250621
# 2 human_chr2 243199373
# 3 human_chr3 198022430
# 4 human_chr4 191154276
# 5 human_chr5 180915260
# 6 human_chr6 171115067
# 7 human_chr7 159138663
# 8 human_chr8 146364022
# 9 human_chr9 141213431
# 10 human_chr10 135534747
# # … with 33 more rows
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.