Computes chromosomes' length from list
Source:R/compute_chromosomes_length.R
combine_chrom_length.Rd
Computes the length (in bp) of each chromosome from a list of GWAS and DE results as well as candidate gene lists.
Value
A tibble with two columns: chromosome
(chromosome name) and
length
(chromosome length in base pair).
Examples
x <- get_example_data()
y <- list("GWAS" = GWAS_data(x[["GWAS"]]),
"DE" = DE_data(x[["DE"]]),
"CAN" = CAN_data(x[["CAN"]]))
combine_chrom_length(y)
#> # A tibble: 13 × 2
#> chromosome length
#> <chr> <dbl>
#> 1 ST4.03ch00 45813526
#> 2 ST4.03ch01 88627702
#> 3 ST4.03ch02 48614228
#> 4 ST4.03ch03 62263578
#> 5 ST4.03ch04 72170119
#> 6 ST4.03ch05 52040326
#> 7 ST4.03ch06 59476545
#> 8 ST4.03ch07 56715111
#> 9 ST4.03ch08 56937627
#> 10 ST4.03ch09 61539681
#> 11 ST4.03ch10 59687482
#> 12 ST4.03ch11 45409456
#> 13 ST4.03ch12 61152223