setGenome,igvR-method {igvR} | R Documentation

## Specify the reference genome, currently limited to hg38, hg19, mm10, tair10.

### Description

Specify the reference genome, currently limited to hg38, hg19, mm10, tair10.

### Usage

    ## S4 method for signature 'igvR'
    setGenome(obj, genomeName)

### Arguments

`obj` | An object of class igvR
`genomeName` | A character string, one of "hg38", "hg19", "mm10", "tair10"

### Value

An empty string, an error message if the requested genome is not yet supported

### Examples

    if(interactive()){
       igv <- igvR()
       setGenome(igv, "mm10")
       }

[Package igvR version 1.6.1 Index]