Skip to content
cccskills
FreePublished on GitHub

bioconductor-cageminer

This package aims to integrate GWAS-derived SNPs and coexpression networks to mine candidate genes associated with a particular phenotype. For that, users must define a set of guide genes, which are known genes involved in the studied phenotype. Additionally, the mined candidates can be given a score that favor candidates that are hubs and/or transcription factors. The scores can then be used to rank and select the top n most promising genes for downstream experiments.

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

Run score Not tested

See how to install

Files included (1)

  • SKILL.md4.9 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

cageminer

Workflows

Standard Workflow

Integrate GWAS SNPs and coexpression networks to mine and score high-confidence candidate genes.

library(cageminer)
library(GenomicRanges)

# 1. Visualize SNP distribution across chromosomes
plot_snp_distribution(snp_pos)
plot_snp_circos(chr_length, gene_ranges, snp_pos)

# 2. Identify genes close to SNPs
candidates1 <- mine_step1(gene_ranges, snp_pos)

# 3. Infer a gene coexpression network
sft <- BioNERO::SFT_fit(pepper_se, net_type = "signed", cor_method = "pearson")
gcn <- BioNERO::exp2gcn(pepper_se, net_type = "signed", cor_method = "pearson", 
                        module_merging_threshold = 0.8, SFTpower = sft$power)

# 4. Filter candidates in coexpression modules enriched in guide genes
candidates2 <- mine_step2(pepper_se, gcn = gcn, guides = guides$Gene, candidates = candidates1$ID)

# 5. Identify candidates with altered expression in a condition of interest
candidates3 <- mine_step3(pepper_se, candidates = candidates2$candidates, sample_group = "PRR_stress")

# Alternatively, perform steps 2-5 automatically using mine_candidates:
# candidates <- mine_candidates(gene_ranges = gene_ranges, marker_ranges = snp_pos, 
#                               exp = pepper_se, gcn = gcn, guides = guides$Gene, 
#                               sample_group = "PRR_stress")

# 6. Score and prioritize candidates
hubs <- BioNERO::get_hubs_gcn(pepper_se, gcn)
scored <- score_genes(candidates3, hubs$Gene, tfs$Gene_ID)

Note: Inputs are GRanges of SNP and gene coordinates, a SummarizedExperiment of expression data, and a vector of guide genes; output is a ranked data frame of scored candidate genes.

When to Use

  • To integrate GWAS-derived SNPs with transcriptomic coexpression networks to prioritize candidate genes.
  • To identify genes physically close to SNPs using mine_step1.
  • To find coexpression modules enriched in known guide genes using mine_step2.
  • To score and rank candidate genes based on their correlation with a condition, hub status, and transcription factor annotation using score_genes.

When NOT to Use

  • When you do not have a set of known "guide genes" associated with the phenotype of interest, as mine_step2 relies on guide gene enrichment.
  • When you only have SNP data without matching transcriptomic data.

Data Requirements

  • Gene coordinates and SNP positions stored as GRanges or GRangesList (for multiple traits) objects.
  • Expression data stored as a SummarizedExperiment object.
  • Guide genes and transcription factors provided as character vectors of gene IDs.

Key Parameters

  • gene_ranges: A GRanges object containing gene coordinates.
  • snp_pos / marker_ranges: A GRanges or GRangesList object containing SNP positions.
  • expand_intervals (TRUE): Logical indicating whether to expand SNP coordinates upstream and downstream.
  • net_type ("signed"): Network type for GCN inference in BioNERO::SFT_fit.
  • cor_method ("pearson"): Correlation method for GCN inference.
  • sample_group: The condition of interest in the sample metadata (e.g., "PRR_stress").

Best Practices

  • Use plot_snp_distribution and plot_snp_circos to visually inspect SNP distributions across chromosomes before running the mining pipeline.
  • Use simulate_windows to evaluate different sliding window sizes for selecting putative candidates in mine_step1.
  • Ensure that the same gene IDs are used across the gene ranges, expression data, guide genes, and transcription factor lists.

Common Pitfalls

  • No candidates found in Step 2: Ensure the guide genes are present in the expression dataset and that the coexpression network has well-defined modules.
  • Mismatched gene IDs: Verify that gene IDs in gene_ranges, pepper_se, and guides use the exact same nomenclature.

Alternatives

  • BioNERO for general gene coexpression network analysis.
  • rtracklayer for importing genomic coordinates from GFF/GTF files.

Citations

  • Almeida-Silva, F., & Venancio, T. M. (2022). cageminer: an R/Bioconductor package to prioritize candidate genes by integrating genome-wide association studies and gene coexpression networks. in silico Plants, 4(2), diac018.

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-kb793Updated 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-kb793Updated 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-kb793Updated 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-kb793Updated 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-kb793Updated 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-kb793Updated Jun 21, 2026

See all skills by bioMate-AI

Report a problem with this skill