View source: R/compute_chromosomes_length.R
compute_chrom_length | R Documentation |
Computes the length (in bp) of each chromosome as the maximum position of markers or genes on the chromosome.
compute_chrom_length(x) ## S3 method for class 'GWAS_data' compute_chrom_length(x) ## S3 method for class 'DE_data' compute_chrom_length(x) ## S3 method for class 'CAN_data' compute_chrom_length(x)
x |
Either a |
A tibble with two columns: chromosome
(chromosome name) and
length
(chromosome length in base pair).
x <- get_example_data() compute_chrom_length(GWAS_data(x[["GWAS"]])) compute_chrom_length(DE_data(x[["DE"]])) compute_chrom_length(CAN_data(x[["CAN"]]))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.