Learn R Programming

chimera (version 1.14.0)

prettyPrint: A function to represent a list of fSet as a dataframe

Description

A function reorganizing a list of fSet in a dataframe structure. The dataframe is then saved in a tab delimited file

Usage

prettyPrint(list, filename, fusion.reads=c("all","spanning"))

Arguments

list
a list of fSet object
filename
the name of the file in which the dataframe is printed
fusion.reads
it allows to extract spanning reads associated to the SeedCount slot or all the detected reads associate to the RescuedCount

Examples

Run this code
#tmp <- importFusionData("fusionmap", paste(find.package(package="chimera"),"/examples/mcf7.FMFusionReport", sep=""), org="hg19")
#fusion.names <- fusionName(tmp)
#tmp1 <- filterList(tmp, type="fusion.names", fusion.names[c(1,3,7)], parallel=FALSE)
#prettyPrint(tmp1, "tmp1.df.txt", fusion.reads="spanning")

Run the code above in your browser using DataLab