
Bioconductor Treesummarizedexperiment
TreeSummarizedExperiment has extended SingleCellExperiment to include hierarchical...
Install
npx skills add bioMate-AI/biomate-bioconductor-kb --skill bioconductor-treesummarizedexperiment -g -a claude-code -y- Repository
- bioMate-AI/biomate-bioconductor-kb793
- Category
- Engineering
- Updated
- 5mo ago
- License
- See repository
- Context cost
- Lightabout 1,170 tokens
- Runs scripts
- No, instructions only
What it does
TreeSummarizedExperiment has extended SingleCellExperiment to include hierarchical information on the rows or columns of the rectangular data.
TreeSummarizedExperiment
Dependencies & Environment
Package-intrinsic requirements from the Bioconductor landing page, reproduce in any R environment.
- Version: 2.20.0 · Bioconductor: 3.23 · R: ≥ 4.6
- Depends: SingleCellExperiment, S4Vectors, Biostrings
- Imports: BiocGenerics, ape, rlang, dplyr, SummarizedExperiment, BiocParallel, IRanges, treeio
- System requirements: URL
- Install:
BiocManager::install("TreeSummarizedExperiment")
When to Use
- Storing rectangular experimental data alongside hierarchical tree structures using the
TreeSummarizedExperimentclass. - Aggregating data to different taxonomic levels (e.g., phylum or class) using
aggTSE. - Subsetting data by specific tree nodes or leaves using
subsetByNode. - Storing reference sequence data per feature using the
referenceSeqslot.
When NOT to Use
- For standard single-cell RNA-seq without hierarchical relationships, use
SingleCellExperimentbecause the tree-related slots and overhead are unnecessary. - For purely manipulating or visualizing phylogenetic trees without rectangular assay data, use
apeorggtreedirectly because they are specialized for tree operations.
Data Requirements
- An
assaysmatrix representing observed data (e.g., counts) with rows as entities and columns as samples. rowDataandcolDatadata frames for feature and sample annotations.- Hierarchical structures provided as
phyloobjects forrowTreeand/orcolTree. - Link information mapping assay rows/columns to tree nodes via
rowNodeLaborcolNodeLab. - Optional reference sequences as
DNAStringSetorDNAStringSetList.
