Description Usage Arguments Value
View source: R/cohortFusions.R
Filtering is based on sample name or gene. If you need more complex filtering, just do it yourself. This is a convienience function.
1 2 | filterFusions(fusions, sample = c(), gene1 = c(), gene2 = c(),
genePairing = "or")
|
fusions |
The data frame of fusions to filter | |||||||
sample |
List of sample names. If given, only fusions for the samples with exactly mathcing sample names will be kept. Gene filtering will select only from these samples. | |||||||
gene1 |
List of gene names to filter fusions based on the upstream gene name. @param gene2 List of gene names to filter fusions based on the downstream gene name. @param genePairing Logic to use if both gene1 and gene2 given.
|
The selected rows from the fusion data frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.