get_chr_coordinates: Get chromosome coordinates

Description Usage Arguments Value Examples

View source: R/get_chr_coordinates.R

Description

Returns chromosome length and centromere coordinates for specified genome.

Usage

1
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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## 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 Jan. 31, 2020, 11:05 a.m.