Description Usage Arguments Value Methods (by class) Note See Also Examples
Removes either genes or pathways of a GeneSetCollection if present.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | drop(object, gene, pathway)
## S4 method for signature 'GeneSetCollection,character,character'
drop(object, gene,
pathway)
## S4 method for signature 'GeneSetCollection,missing,character'
drop(object, pathway)
## S4 method for signature 'GeneSetCollection,character,missing'
drop(object, gene)
## S4 method for signature 'GeneSetCollection,numeric,numeric'
drop(object, gene, pathway)
## S4 method for signature 'GeneSetCollection,missing,numeric'
drop(object, pathway)
## S4 method for signature 'GeneSetCollection,numeric,missing'
drop(object, gene, pathway)
|
object |
A GeneSetCollection object. |
gene |
The number or names of the genes to be removed. |
pathway |
The number or names of the pathways to be removed. |
A GeneSetCollection object without those genes or pathways.
object = GeneSetCollection,gene = character,pathway = character
: Drop genes and pathways
object = GeneSetCollection,gene = missing,pathway = character
: Drop pathways
object = GeneSetCollection,gene = character,pathway = missing
: Drop genes
object = GeneSetCollection,gene = numeric,pathway = numeric
: Drop the specified number of genes and pathways
object = GeneSetCollection,gene = missing,pathway = numeric
: Drop the specified number of pathway
object = GeneSetCollection,gene = numeric,pathway = missing
: Drop the specified number of genes.
Remember that a GeneSet is defined as a group of genes (more than one), and if one gene set has only one gene it is removed. Conversely, a gene is removed if it doesn't belong to any GeneSet.
add
To just add a relationship.
modify
To remove and add relationship at once.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.