Learn R Programming

Signac

Overview

Signac is a comprehensive R package for the analysis of single-cell chromatin data. Signac includes functions for quality control, normalization, dimension reduction, clustering, differential activity, and more.

Documentation and tutorials can be found at https://stuartlab.org/signac/

Installation

To install the latest release of Signac from CRAN:

setRepositories(ind=1:3) # needed to automatically install Bioconductor dependencies
install.packages("Signac")

To release the latest develop version from GitHub:

if (!requireNamespace("remotes", quietly = TRUE))
    install.packages("remotes")
remotes::install_github("stuart-lab/signac", ref = "develop")

Release notes

For a changelog please see the NEWS file, also available on the Signac website.

Contributing

We welcome contributions to the Signac package. Please see the contribution guide for more information.

Getting help

If you encounter a bug or have a feature request, please open an issue.

If you would like to discuss questions related to single-cell analysis, you can open a discussion.

Roadmap

Signac runs on a quarterly release schedule. Additional releases will be scheduled in the case of urgent bug fixes. The development roadmap can be viewed on GitHub here.

Citing Signac

If you use the Signac package in your work please cite Stuart et al. 2021

@ARTICLE{signac,
  title     = "Single-cell chromatin state analysis with Signac",
  author    = "Stuart, Tim and Srivastava, Avi and Madad, Shaista and Lareau,
               Caleb A and Satija, Rahul",
  journal   = "Nat. Methods",
  publisher = "Nature Publishing Group",
  pages     = "1--9",
  month     =  nov,
  year      =  2021,
  url       = "https://www.nature.com/articles/s41592-021-01282-5",
  language  = "en"
}

Related packages

Copy Link

Version

Install

install.packages('Signac')

Monthly Downloads

6,989

Version

1.14.0

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Last Published

August 21st, 2024

Functions in Signac (1.14.0)

CreateMotifMatrix

Create motif matrix
CreateChromatinAssay

Create ChromatinAssay object
CreateMotifObject

Create motif object
DownsampleFeatures

Downsample Features
DensityScatter

Scatterplot colored by point density
FeatureMatrix

Feature Matrix
FindTopFeatures

Find most frequently observed features
ExpressionPlot

Plot gene expression
Footprint

Transcription factor footprinting analysis
FilterCells

Filter cells from fragment file
DepthCor

Plot sequencing depth correlation
FindMotifs

FindMotifs
CountsInRegion

Counts in region
FindClonotypes

Find clonotypes
CountFragments

Count fragments
GenomeBinMatrix

Genome bin matrix
GetFootprintData

Get footprinting data
IdentifyVariants

Identify mitochondrial variants
InsertionBias

Compute Tn5 insertion bias
GetCellsInRegion

Get cells in a region
Cells<-

Set and get cell barcode information for a Fragment object
GetLinkedGenes

Get genes linked to peaks
GetFragmentData

Get Fragment object data
LookupGeneCoords

Get gene coordinates
NucleosomeSignal

NucleosomeSignal
Links

Get or set links information
GetLinkedPeaks

Get peaks linked to genes
Motifs

Get or set a motif information
FragmentHistogram

Plot fragment length histogram
CoveragePlot

Plot Tn5 insertion frequency over a region
Fragments

Get the Fragment objects
FRiP

Calculate fraction of reads in peaks per cell
Extend

Extend
MotifCounts

Count fragments surrounding motif sites
CoverageBrowser

Genome browser
RegionMatrix

Region enrichment analysis
GetGRangesFromEnsDb

Extract genomic ranges from EnsDb object
GetIntersectingFeatures

Find intersecting regions between two objects
PeakPlot

Plot peaks in a genomic region
MotifPlot

Plot DNA sequence motif
PlotFootprint

Plot motif footprinting results
RegionPlot

Region plot
CreateFragmentObject

Create a Fragment object
SubsetMatrix

Subset matrix rows and columns
StringToGRanges

String to GRanges
GRangesToString

GRanges to String
GeneActivity

Create gene activity matrix
LinkPeaks

Link peaks to genes
Jaccard

Calculate the Jaccard index between two matrices
IntersectMatrix

Intersect genomic coordinates with matrix rows
RegionStats

Compute base composition information for genomic ranges
TSSEnrichment

Compute TSS enrichment score per cell
TSSPlot

Plot signal enrichment around TSSs
ValidateFragments

Validate Fragment object
LinkPlot

Plot linked genomic elements
RunChromVAR

Run chromVAR
SetMotifData

Set motif data
blacklist_mm10

Genomic blacklist regions for Mouse mm10 (0-based)
MatchRegionStats

Match DNA sequence characteristics
corSparse

Sparse matrix correlation
RunSVD

Run singular value decomposition
Motif-class

The Motif class
Signac-package

Signac: Analysis of Single-Cell Chromatin Data
atac_small

A small example scATAC-seq dataset
coverage,ChromatinAssay-method

Coverage of a ChromatinAssay object
findOverlaps-methods

Find overlapping ranges for ChromatinAssay objects
ValidateCells

Validate cells present in fragment file
UpdatePath

Update the file path for a Fragment object
theme_browser

Genome browser theme
ValidateHash

Validate hashes for Fragment object
blacklist_ce10

Genomic blacklist regions for C. elegans ce10 (0-based)
blacklist_hg19

Genomic blacklist regions for Human hg19 (0-based)
blacklist_dm6

Genomic blacklist regions for Drosophila dm6 (0-based)
blacklist_hg38

Genomic blacklist regions for Human GRCh38
subset.Fragment

Subset a Fragment object
subset.Motif

Subset a Motif object
blacklist_hg38_unified

Unified genomic blacklist regions for Human GRCh38
SplitFragments

Split fragment file by cell identities
seqinfo-methods

Access and modify sequence information for ChromatinAssay objects
SortIdents

Sorts cell metadata variable by similarity using hierarchical clustering
RunTFIDF

Compute the term-frequency inverse-document-frequency
reexports

Objects exported from other packages
VariantPlot

Plot strand concordance vs. VMR
as.ChromatinAssay

Convert objects to a ChromatinAssay
inter-range-methods

Inter-range transformations for ChromatinAssay objects
RegionHeatmap

Region heatmap
ReadMGATK

Read MGATK output
TilePlot

Plot integration sites per cell
FractionCountsInRegion

Fraction of counts in a genomic region
GetMotifData

Retrieve a motif matrix
GetTSSPositions

Find transcriptional start sites
Fragment-class

The Fragment class
blacklist_ce11

Genomic blacklist regions for C. elegans ce11 (0-based)
UnifyPeaks

Unify genomic ranges
blacklist_dm3

Genomic blacklist regions for Drosophila dm3 (0-based)
nearest-methods

Find the nearest range neighbors for ChromatinAssay objects
granges-methods

Access genomic ranges for ChromatinAssay objects
head.Fragment

Return the first rows of a fragment file
AverageCounts

Average Counts
AddChromatinModule

Add chromatin module
AccessiblePeaks

Accessible peaks
BinarizeCounts

Binarize counts
AlleleFreq

Compute allele frequencies per cell
Annotation

Annotation
BigwigTrack

Plot data from BigWig files
AggregateTiles

Quantify aggregated genome tiles
AddMotifs

Add DNA sequence motif information
AnnotationPlot

Plot gene annotations
ClusterClonotypes

Find relationships between clonotypes
ClosestFeature

Closest Feature
CombineTracks

Combine genome region plots
ConnectionsToLinks

Cicero connections to links
Cells.Fragment

Set and get cell barcode information for a Fragment object
CellsPerGroup

Cells per group
ChromatinAssay-class

The ChromatinAssay class
CallPeaks

Call peaks
ConvertMotifID

Convert between motif name and motif ID