Skip to content
cccskills
FreePublished on GitHub

bioconductor-omicsviewer

omicsViewer visualizes ExpressionSet (or SummarizedExperiment) in an interactive way. The omicsViewer has a separate back- and front-end. In the back-end, users need to prepare an ExpressionSet that contains all the necessary information for the downstream data interpretation. Some extra requirements on the headers of phenotype data or feature data are imposed so that the provided information can be clearly recognized by the front-end, at the same time, keep a minimum modification on the existin

The English summary is being prepared. Showing the original description.

See how to install

Files included (1)

  • SKILL.md5.1 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

omicsViewer

Workflows

Standard Workflow

library(omicsViewer)
library(Biobase)

packdir <- system.file("extdata", package = "omicsViewer")
expr <- read.delim(file.path(packdir, "expressionMatrix.tsv"), stringsAsFactors = FALSE)
colnames(expr) <- make.names(colnames(expr))
rownames(expr) <- make.names(rownames(expr))

fd <- read.delim(file.path(packdir, "featureGeneral.tsv"), stringsAsFactors = FALSE)
pd <- read.delim(file.path(packdir, "sampleGeneral.tsv"), stringsAsFactors = FALSE)

# Prepare the ExpressionSet object
d <- prepOmicsViewer(
  expr = expr, pData = pd, fData = fd, 
  PCA = TRUE, pca.fillNA = TRUE,
  SummarizedExperiment = FALSE
)

# Run correlation analysis and extend metadata
expr_mat <- exprs(d)
drugData <- read.delim(file.path(packdir, "sampleDrug.tsv"))
drugcor <- correlationAnalysis(expr_mat, pheno = drugData[, 1:2])
d <- extendMetaData(d, drugcor, where = "fData")

Input: Expression matrix, feature data, and phenotype data.
Output: An ExpressionSet object prepared and extended for interactive visualization in omicsViewer.

When to Use

  • Interactive exploration of high-throughput omics data stored in ExpressionSet or SummarizedExperiment objects.
  • Performing on-the-fly enrichment analysis (using fgsea or Fisher's exact test) or STRING network analysis on selected features.
  • Testing associations between selected samples and phenotype variables using correlationAnalysis or hypothesis tests (t-test, Mann-Whitney U test, chi-square, or log-rank test).

When NOT to Use

  • For high-throughput sequence alignment or raw read counting; use packages like Rsubread instead.
  • For complex multi-factor differential expression modeling without interactive visualization; use limma, edgeR, or DESeq2 directly.

Data Requirements

  • An expression matrix with unique row names (features) and column names (samples).
  • Feature data (fData) and phenotype data (pData) where row names match the expression matrix's row and column names, respectively.
  • Column headers in feature and phenotype data formatted as Analysis|Subset|Variable (e.g., ttest|RE_vs_ME|mean.diff).

Key Parameters

  • expr: Expression matrix with unique row and column names.
  • pData: Phenotype data frame matching columns of the expression matrix.
  • fData: Feature data frame matching rows of the expression matrix.
  • PCA (TRUE): Logical indicating whether to perform principal component analysis.
  • pca.fillNA (TRUE): Logical indicating whether to impute missing values for PCA.
  • t.test: Matrix defining t-tests to perform.
  • ttest.fillNA (FALSE): Logical indicating whether to impute missing values for t-tests.
  • SummarizedExperiment (FALSE): Logical indicating whether to return a SummarizedExperiment instead of an ExpressionSet.

Best Practices

  • Pre-calculate dendrograms for rows and columns using hclust and as.dendrogram and store them as attributes (rowDendrogram/colDendrogram) of the expression matrix to speed up heatmap rendering.
  • Use reserved keywords like Surv, StringDB, and GS in headers to enable specific downstream tabs (Survival, STRING, ORA/fGSEA) in the analyst panel.
  • Extend metadata post-creation using extendMetaData to integrate additional statistical results like correlation analyses.

Common Pitfalls

  • Slow heatmap rendering: Calculating dendrograms on the fly for large matrices is slow. Fix: Pre-calculate dendrograms and assign them to the rowDendrogram attribute of the expression matrix.
  • Incompatible headers: Front-end fails to recognize analysis columns. Fix: Ensure column names follow the strict Analysis|Subset|Variable format.
  • Non-matching identifiers: Feature or sample names do not align between matrices. Fix: Ensure row names of fData match row names of expr, and row names of pData match column names of expr.

Alternatives

  • limma: For non-interactive, complex linear modeling of microarray and RNA-seq data.
  • DESeq2: For differential expression analysis of RNA-seq count data.
  • edgeR: For differential expression analysis of digital gene expression data.

Citations

  • Meng Chen (2026). Interactive and explorative visualization of ExpressionSet using omicsViewer.

References

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

The package contains functions for exploratory oligonucleotide array analysis. The dependence on tkWidgets only concerns few convenience functions. 'affy' is fully functional without it.

The English summary is being prepared. Showing the original description.

bioMate-AI/biomate-bioconductor-kb797Updated Jun 21, 2026

This tool uses the label-tree function from HyPhy to annotate a phylogenetic tree. It allows users to select a subset of leaves using either a regular expression or a list of sequence names, and then apply a specified label to these selecte

The English summary is being prepared. Showing the original description.

bioMate-AI/biomate-bioconductor-kb797Updated Jun 21, 2026

This package provides a client for the Bioconductor AnnotationHub web resource. The AnnotationHub web resource provides a central location where genomic files (e.g., VCF, bed, wig) and other resources from standard locations (e.g., UCSC, En

The English summary is being prepared. Showing the original description.

bioMate-AI/biomate-bioconductor-kb797Updated Jun 21, 2026

apeglm provides Bayesian shrinkage estimators for effect sizes for a variety of GLM models, using approximation of the posterior for individual coefficients.

The English summary is being prepared. Showing the original description.

bioMate-AI/biomate-bioconductor-kb797Updated Jun 21, 2026

ASURAT is a software for single-cell data analysis. Using ASURAT, one can simultaneously perform unsupervised clustering and biological interpretation in terms of cell type, disease, biological process, and signaling pathway activity. Inputting a single-cell RNA-seq data and knowledge-based databases, such as Cell Ontology, Gene Ontology, KEGG, etc., ASURAT transforms gene expression tables into original multivariate tables, termed sign-by-sample matrices (SSMs).

The English summary is being prepared. Showing the original description.

bioMate-AI/biomate-bioconductor-kb797Updated Jun 21, 2026

AUCell allows to identify cells with active gene sets (e.g. signatures, gene modules...) in single-cell RNA-seq data. AUCell uses the "Area Under the Curve" (AUC) to calculate whether a critical subset of the input gene set is enriched with

The English summary is being prepared. Showing the original description.

bioMate-AI/biomate-bioconductor-kb797Updated Jun 21, 2026

See all skills by bioMate-AI

Report a problem with this skill