Returns chromosome length and centromere coordinates for specified genome.

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)
# }