getFusionByGeneName {chimeraviz} | R Documentation |
Helper function to retrieve the Fusion objects that has geneName as one of the partner genes.
getFusionByGeneName(fusionList, geneName)
fusionList |
A list of Fusion objects. |
geneName |
The gene name we're looking for. |
Note: getFusionByGeneName(fusionList, "MT") will match both MT-ND5 and MT-ND4.
A list of Fusion objects.
defuse833ke <- system.file( "extdata", "defuse_833ke_results.filtered.tsv", package="chimeraviz") fusions <- importDefuse(defuse833ke, "hg19", 1) length(getFusionByGeneName(fusions, "RCC1")) # [1] 1