Learn R Programming

hidecan (version 1.1.0)

combine_chrom_length: 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)

Value

A tibble with two columns: chromosome (chromosome name) and length (chromosome length in base pair).

Arguments

x

A list of GWAS_data, DE_data or CAN_data objects.

Examples

Run this code
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)

Run the code above in your browser using DataLab