get_chr_coordinates: Get chromosome coordinates

View source: R/get_chr_coordinates.R

get_chr_coordinatesR Documentation

Get chromosome coordinates

Description

Returns chromosome length and centromere coordinates for specified genome.

Usage

get_chr_coordinates(genome, as_df = FALSE)

Arguments

genome

Character object specifying the genome version; accepts one of the following options:

  1. "SK1Yue"

  2. "S288CYue"

  3. "sacCer3"

  4. "SK1"

  5. "SK1_S288CYue"

No default.

as_df

Logical specifying whether the output should be returned as a data frame. If FALSE, output is a GRanges object. Defaults to FALSE.

Value

Centromere start and end, as well as chroosome lengths, for each chromosome.

Examples

## Not run: 
get_chr_coordinates(genome='SK1Yue')

get_chr_coordinates(genome='sacCer3', as_df=FALSE)

get_chr_coordinates(genome='SK1', as_df=TRUE)

get_chr_coordinates(genome='SK1_S288CYue', as_df=TRUE)

## End(Not run)

hochwagenlab/hwglabr2 documentation built on Nov. 12, 2022, 7:27 p.m.