Description Usage Arguments Value Warning See Also
View source: R/gene_expression_evaluation.R
Function to estimate the expression levels of gene sets
1 | gene_eval(gene_sets, genes, presences)
|
gene_sets |
A list of gene set strings: names of genes punctuated with |
genes |
A list of gene names |
presences |
A list of gene presences, the same length as |
a vector the same length as gene_sets
, with the the calculated combined gene expression levels.
This function evaluates the gene sets in the context of the gene presences.
It can take booleans, or numbers, in which case it associates &
with finding the minimum, and |
with finding the maximum.
This function uses eval
to evaluate gene expression sets.
This gives flexibility, but means that malicious code in the gene_sets
argument could get evaluated.
gene_sets
is evaluated in a restricted environment, but there might be a way around this, so you might want to check for anything suspicious in this argument manually.
For more information, read the code.
gene_associate
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.