reactions: Top reactions

Description Usage Arguments See Also Examples

View source: R/reactions.R

Description

Finds top reactions of each results table

Usage

1
reactions(results, entrezgene_ids)

Arguments

results

Results list (topTables)

entrezgene_ids

All ids, entrez format

See Also

\item[graphite]{pathways} \item[graphite]{prepareSPIA}

Examples

1
2
3
4
5
6
7
8
expr.matrix <- readRDS("data/expr_matrix_LGVD.rds")
annotation1 = annotate_ensembl(rownames(expr.matrix))
annotations=annotation1[[1]]
results <- readRDS("data/results_LGVD.rds")
entrezgene_ids <- unique(annotations$entrezgene_id)
reactome <- pathways("rnorvegicus", "reactome")
prepareSPIA(reactome, "reactome",print.names=TRUE)
res <- reactions(results,entrezgene_ids)

spell098/rnaseq_app documentation built on May 30, 2019, 7:57 a.m.