import_squid: Import results from a SQUID run into a list of Fusion...

Description Usage Arguments Value Examples

View source: R/import_squid.R

Description

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

Usage

1
import_squid(filename, genome_version, limit)

Arguments

filename

Filename for the SQUID results.

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

1
2
3
4
5
6
squidfile <- system.file(
  "extdata",
  "squid_hcc1954_sv.txt",
  package="chimeraviz")
fusions <- import_squid(squidfile, "hg19", 3)
# This should import a list of 3 fusions described in Fusion objects.

chimeraviz documentation built on Jan. 19, 2021, 2 a.m.