import_fusionmap {chimeraviz} | R Documentation |
A function that imports the results from a FusionMap run, typically from a InputFastq.FusionReport.txt file, into a list of Fusion objects.
import_fusionmap(filename, genome_version, limit)
filename |
Filename for the FusionMap PairedEndFusionReport.txt results file. |
genome_version |
Which genome was used in mapping (hg19, hg38, etc.). |
limit |
A limit on how many lines to read. |
A list of Fusion objects.
fusionmapData <- system.file( "extdata", "FusionMap_01_TestDataset_InputFastq.FusionReport.txt", package = "chimeraviz") fusions <- import_fusionmap(fusionmapData, "hg19", 3) # This should import a list of 3 fusions described in Fusion objects.