compareGenes | R Documentation |
Compute and annotate the intersection or union between contributiong genes of components originating from different IcaSet objects.
compareGenes(keepCompByIcaSet, icaSets, lab, cutoff = 0,
type = c("union", "intersection"), annotate = TRUE,
file,
mart = useMart("ensembl", "hsapiens_gene_ensembl"))
icaSets |
List of |
keepCompByIcaSet |
Indices of the components to be
considered in each |
lab |
The names of the icaSets (e.g the names of the datasets they originate from). |
cutoff |
The cutoff (on the absolute centered and scaled projections) above which the genes have to be considered. |
type |
|
annotate |
If TRUE (default) the genes are annotated
using function |
file |
The HTML file name where the genes and their
annotations are written, default is
|
mart |
The mart object (database and dataset) used
for annotation, see function |
A data.frame containing
typeID(icaSets[[1]])['geneID_biomart']
:the gene IDs,
the median of the ranks of
each gene across the IcaSet
objects,
the labels of the IcaSet
objects
in which each gene is above the given cutoff
the minimum of the ranks of each gene
across the IcaSet
objects,
the ranks
of each gene in each IcaSet
where it is
available,
the centered and reduced
projection of each gene in each IcaSet
where it is
available.
Anne Biton
writeGenes
## Not run:
data(icaSetCarbayo)
mart <- useMart("ensembl", "hsapiens_gene_ensembl")
## comparison of two components
## here the components come from the same IcaSet for convenience
## but they must come from different IcaSet in practice.
compareGenes(keepCompByIcaSet = c(9,4), icaSets = list(icaSetCarbayo, icaSetCarbayo),
lab=c("Carbayo", "Carbayo2"), cutoff=3, type="union", mart=mart)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.