import_ericscript {chimeraviz} | R Documentation

## Import results from a EricScript run into a list of Fusion objects.

### Description

A function that imports the results from a EricScript run into a list of Fusion objects.

### Usage

    import_ericscript(filename, genome_version, limit)

### Arguments

`filename` | Filename for the EricScript results file.
`genome_version` | Which genome was used in mapping (hg19, hg38, etc.).
`limit` | A limit on how many lines to read.

### Value

A list of Fusion objects.

### Examples

    ericscriptData <- system.file(
      "extdata",
      "ericscript_SRR1657556.results.total.tsv",
      package = "chimeraviz")
    fusions <- import_ericscript(ericscriptData, "hg19", 3)
    # This should import a list of 3 fusions described in Fusion objects.

[Package chimeraviz version 1.14.0 Index]