ワンクリックで
signac
R package for chromatin analysis. Use for single-cell ATAC-seq analysis, chromatin accessibility, and integration with Seurat.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
R package for chromatin analysis. Use for single-cell ATAC-seq analysis, chromatin accessibility, and integration with Seurat.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Maintain this specific academic website repo safely and consistently. Use this skill whenever the user asks to update, review, polish, reorganize, or extend this website, especially when the request touches homepage identity statements, publications, CV assets, shared templates, or duplicated academic content.
Delegate coding tasks to Claude Code (Anthropic's CLI agent). Use for building features, refactoring, PR reviews, and iterative coding. Requires the claude CLI installed.
Delegate coding tasks to OpenAI Codex CLI agent. Use for building features, refactoring, PR reviews, and batch issue fixing. Requires the codex CLI and a git repository.
Behavioral guidelines to reduce common LLM coding mistakes. Use when writing, reviewing, or refactoring code to avoid overcomplication, make surgical changes, surface assumptions, and define verifiable success criteria.
Complete guide to using and extending Hermes Agent — CLI usage, setup, configuration, spawning additional agents, gateway platforms, skills, voice, tools, profiles, and a concise contributor reference. Load this skill when helping users configure Hermes, troubleshoot issues, spawn agent instances, or make code contributions.
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).
| name | signac |
| domain | compbio |
| description | R package for chromatin analysis. Use for single-cell ATAC-seq analysis, chromatin accessibility, and integration with Seurat. |
| license | MIT license |
| metadata | {"skill-author":"Eric Yiru"} |
Signac is an R package for analyzing single-cell chromatin data, particularly scATAC-seq. It integrates seamlessly with Seurat for combined analysis of gene expression and chromatin accessibility.
This skill should be used when:
# Install Signac
install.packages("Signac")
# From GitHub
devtools::install_github("satijalab/Signac")
library(Signac)
library(Seurat)
library(GenomeInfoDb)
library(ggplot2)
# Create Seurat object from fragments
counts <- Read10X_h5(filename = "filtered_peak_bc_matrix.h5")
fragfile <- "atac_v1_pbmc_10k.fragments.tsv.gz"
# Create object
chrom_assay <- CreateChromatinAssay(
counts = counts,
fragments = fragfile,
min.cells = 10,
min.features = 200
)
# Create Seurat object
pbmc <- CreateSeuratObject(
counts = chrom_assay,
assay = "ATAC"
)
# Add peak information
Annotation(pbmc) <- annotations
# Compute nucleosome signal
pbmc <- NucleosomeSignal(pbmc)
# Compute TSS enrichment
pbmc <- TSSEnrichment(pbmc, fast = FALSE)
# Feature selection
pbmc <- FindTopFeatures(pbmc, min.cells = 10)
# Run TF-IDF
pbmc <- RunTFIDF(pbmc)
# Run SVD
pbmc <- FindSVD(pbmc, assay = "ATAC")
# Find neighbors
pbmc <- FindNeighbors(pbmc, reduction = "lsi", dims = 2:50)
# Find clusters
pbmc <- FindClusters(pbmc, resolution = 0.4)
# Run UMAP
pbmc <- RunUMAP(pbmc, reduction = "lsi", dims = 2:50)
# Visualize
DimPlot(pbmc, label = TRUE)
# Create gene activity matrix
pbmc <- GeneActivity(
pbmc,
assay = "ATAC"
)
# Add to object
pbmc[["RNA"]] <- CreateAssayObject(counts = pbmc@assays$GeneActivity)
pbmc <- NormalizeData(pbmc, assay = "RNA")
# Plot gene activity
FeaturePlot(
pbmc,
features = c("MS4A1", "CD3D"),
assay = "RNA"
)
# Load RNA data
rna <- CreateSeuratObject(counts = rna_counts, assay = "RNA")
# Find anchors
anchors <- FindIntegrationAnchors(
object.list = list(rna = rna, atac = pbmc),
assay = c("RNA", "ATAC"),
reduction = "cca"
)
# Integrate
combined <- IntegrateData(
anchorset = anchors,
assay = c("RNA", "ATAC")
)
# Analysis
DefaultAssay(combined) <- "integrated"
combined <- ScaleData(combined)
combined <- RunPCA(combined)
combined <- RunUMAP(combined)
# Find differential peaks
da_peaks <- FindAllMarkers(
pbmc,
assay = "ATAC",
test.use = "chisq"
)
# Plot accessibility around genes
CoveragePlot(
pbmc,
region = "CD4",
extend.upstream = 1000,
extend.downstream = 1000
)
counts: Peak-by-cell matrixfragments: Fragment file pathmin.cells: Minimum cells per peakmin.features: Minimum peaks per cell