combine_chrom_length {hidecan}R Documentation

Computes chromosomes' length from list

Description

Computes the length (in bp) of each chromosome from a list of GWAS and DE results as well as candidate gene lists.

Usage

combine_chrom_length(x)

Arguments

x

A list of GWAS_data, DE_data or CAN_data objects.

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)

[Package hidecan version 1.1.0 Index]