Learn R Programming

hidecan (version 1.1.0)

.compute_chrom_length_genes: Computes chromosomes' length for a tibble of genes

Description

Computes the length (in bp) of each chromosome as the maximum position of genes on the chromosome.

Usage

.compute_chrom_length_genes(x)

Value

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

Arguments

x

Either a DE_data or CAN_data object.