subsetGenome {casper} | R Documentation

## subsetGenome subsets an object of class annotatedGenome for a set of island IDs or chromosome names.

### Description

~~ Methods for function `subsetGenome` in package casper ~~ Subset an annotatedGenome object by islands or chromosomes.

### Usage

    subsetGenome(islands, chr, genomeDB)

### Arguments

`islands` | Vector of characters with the island IDs to retrieve from genome.
`chr` | Vector of characters with the names of chromosomes to retrieve from genome.
`genomeDB` | annotatedGenome object with genome to subset.

### Methods

`signature(islands = "character", chr = "missing", genomeDB = "annotatedGenome")`

  Subset annotatedGenome object by a set of island IDs.

`signature(islands = "missing", chr = "character", genomeDB = "annotatedGenome")`

  Subset annotatedGenome object by chromosomes.

[Package casper version 2.14.0 Index]