Learn R Programming

⚠️There's a newer version (5.0.3) of this package.Take me there.

Seurat v4.0

Seurat is an R toolkit for single cell genomics, developed and maintained by the Satija Lab at NYGC.

Instructions, documentation, and tutorials can be found at:

Seurat is also hosted on GitHub, you can view and clone the repository at

Seurat has been successfully installed on Mac OS X, Linux, and Windows, using the devtools package to install directly from GitHub

Improvements and new features will be added on a regular basis, please post on the github page with any questions or if you would like to contribute

For a version history/changelog, please see the NEWS file.

Copy Link

Version

Install

install.packages('Seurat')

Monthly Downloads

47,332

Version

4.0.1

License

GPL-3 | file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Last Published

March 18th, 2021

Functions in Seurat (4.0.1)

AddModuleScore

Calculate module scores for feature expression programs in single cells
BuildClusterTree

Phylogenetic Analysis of Identity Classes
AverageExpression

Averaged feature expression by identity class
Assay-class

The Assay Class
BGTextColor

Determine text color based on background color
AnchorSet-class

The AnchorSet Class
AggregateExpression

Aggregated feature expression by identity class
AugmentPlot

Augments ggplot2-based plot with a PNG image.
BarcodeInflectionsPlot

Plot the Barcode Distribution and Calculated Inflection Points
AnnotateAnchors

Add info to anchor matrix
Cells.SCTModel

Get Cell Names
DimReduc-class

The DimReduc Class
DimPlot

Dimensional reduction plot
CalcPerturbSig

Calculate a perturbation Signature
CalculateBarcodeInflections

Calculate the Barcode Distribution Inflection
FindClusters

Cluster Determination
CollapseEmbeddingOutliers

Move outliers towards center on dimension reduction plot
DiscretePalette

Discrete colour palettes from the pals package
CollapseSpeciesExpressionMatrix

Slim down a multi-species expression matrix, when only one species is primarily of interenst.
DoHeatmap

Feature expression heatmap
CellsByImage

Get a vector of cell names associated with an image (or set of images)
FilterSlideSeq

Filter stray beads from Slide-seq puck
FindTransferAnchors

Find transfer anchors
FindConservedMarkers

Finds markers that are conserved between the groups
FindVariableFeatures

Find variable features
HTODemux

Demultiplex samples based on data from cell 'hashing'
CellCycleScoring

Score cell cycle phases
CustomDistance

Run a custom distance function on an input data matrix
CreateSCTAssayObject

Create a SCT Assay object
DotPlot

Dot plot visualization
CaseMatch

Match the case of character vectors
CellScatter

Cell-cell scatter plot
BlackAndWhite

Create a custom color palette
FindIntegrationAnchors

Find integration anchors
ElbowPlot

Quickly Pick Relevant Dimensions
CellSelector

Cell Selector
FindMarkers

Gene expression markers of identity classes
HTOHeatmap

Hashtag oligo heatmap
HVFInfo.SCTAssay

Get Variable Feature Information
CombinePlots

Combine ggplot2-based plots into a single plot
ColorDimSplit

Color dimensional reduction plot by tree split
HoverLocator

Hover Locator
FastRowScale

Scale and/or center matrix rowwise
ExpVar

Calculate the variance of logged values
IntegrationAnchorSet-class

The IntegrationAnchorSet Class
IntegrateEmbeddings

Integrate low dimensional embeddings
FindAllMarkers

Gene expression markers for all identity classes
MixscapeLDA

Linear discriminant analysis on pooled CRISPR screen data.
FoldChange

Fold Change
LocalStruct

Calculate the local structure preservation metric
LogNormalize

Normalize raw data
FindSpatiallyVariableFeatures

Find spatially variable features
ModalityWeights-class

The ModalityWeights Class
PlotClusterTree

Plot clusters as a tree
PercentageFeatureSet

Calculate the percentage of all counts that belong to a given set of features
MetaFeature

Aggregate expression of multiple features into a single feature
GetAssay

Get an Assay object from a given Seurat object.
FindSubCluster

Find subclusters under one cluster
DEenrichRPlot

DE and EnrichR pathway visualization barplot
L2CCA

L2-Normalize CCA
GetTissueCoordinates.SlideSeq

Get Tissue Coordinates
IntegrateData

Integrate data
JackStraw

Determine statistical significance of PCA scores.
IntegrationData-class

The IntegrationData Class
ISpatialFeaturePlot

Visualize features spatially and interactively
GetResidual

Calculate pearson residuals of features not in the scale.data
ExpMean

Calculate the mean of logged values
L2Dim

L2-normalization
Load10X_Spatial

Load a 10x Genomics Visium Spatial Experiment into a Seurat object
LinkedPlots

Visualize spatial and clustering (dimensional reduction) data in a linked, interactive framework
MapQuery

Map query cells to a reference
ReadSlideSeq

Load Slide-seq spatial data
ReadMtx

Load in data from remote or local mtx files
FindMultiModalNeighbors

Construct weighted nearest neighbor graph
FindNeighbors

(Shared) Nearest-neighbor graph construction
ExpSD

Calculate the standard deviation of logged values
DietSeurat

Slim down a Seurat object
NNPlot

Highlight Neighbors in DimPlot
MappingScore

Metric for evaluating mapping success
Neighbor-class

The Neighbor Class
PlotPerturbScore

Function to plot perturbation score distributions.
Graph-class

The Graph Class
GetTransferPredictions

Get the predicted identity
PrepLDA

Function to prepare data for Linear Discriminant Analysis.
FeaturePlot

Visualize 'features' on a dimensional reduction plot
DimHeatmap

Dimensional reduction heatmap
PolyDimPlot

Polygon DimPlot
ISpatialDimPlot

Visualize clusters spatially and interactively
IFeaturePlot

Visualize features in dimensional reduction space interactively
LabelClusters

Label clusters on a ggplot2-based scatter plot
MinMax

Apply a ceiling and floor to all values in a matrix
LoadAnnoyIndex

Load the Annoy index file
LabelPoints

Add text labels to a ggplot2 plot
LoadSTARmap

Load STARmap data
ProjectUMAP

Project query into UMAP coordinates of a reference
ProjectDim

Project Dimensional reduction onto full dataset
RunCCA

Perform Canonical Correlation Analysis
MixingMetric

Calculates a mixing metric
MixscapeHeatmap

Differential expression heatmap for mixscape
RunICA

Run Independent Component Analysis on gene expression
SCTAssay-class

The SCTModel Class
RenameCells.SCTAssay

Rename Cells in an Object
RunTSNE

Run t-distributed Stochastic Neighbor Embedding
RunUMAP

Run UMAP
RegroupIdents

Regroup idents based on meta.data info
SpatialImage-class

The SpatialImage Class
RelativeCounts

Normalize raw data to fractions
VisiumV1-class

The VisiumV1 class
SpatialPlot

Visualize spatial clustering and expression data.
VizDimLoadings

Visualize Dimensional Reduction genes
RidgePlot

Single cell ridge plot
RunLDA

Run Linear Discriminant Analysis
RunMarkVario

Run the mark variogram computation on a given position matrix and expression matrix.
SCTResults

Get SCT results from an Assay
Seurat-package

Seurat: Tools for Single Cell Genomics
SampleUMI

Sample UMI
PrepSCTIntegration

Prepare an object list normalized with sctransform for integration.
Radius.SlideSeq

Get Spot Radius
RunPCA

Run Principal Component Analysis
SCTransform

Use regularized negative binomial regression to normalize UMI count data
Read10X

Load in data from 10X
SeuratCommand-class

The SeuratCommand Class
TopNeighbors

Get nearest neighbors for given cell
TransferAnchorSet-class

The TransferAnchorSet Class
RunSPCA

Run Supervised Principal Component Analysis
STARmap-class

The STARmap class
cc.genes.updated.2019

Cell cycle genes: 2019 update
SaveAnnoyIndex

Save the Annoy index
FeatureScatter

Scatter plot of single cell data
GetImage.SlideSeq

Get Image Data
SplitObject

Splits object into a list of subsetted objects.
SubsetByBarcodeInflections

Subset a Seurat Object based on the Barcode Distribution Inflection Points
ScoreJackStraw

Compute Jackstraw scores significance.
SetIntegrationData

Set integration data
SelectIntegrationFeatures

Select integration features
TopCells

Find cells with highest scores for a given dimensional reduction technique
SeuratTheme

Seurat Themes
GetIntegrationData

Get integration data
GroupCorrelation

Compute the correlation of features broken down by groups with another covariate
Seurat-class

The Seurat Class
as.CellDataSet

Convert objects to CellDataSet objects
subset.AnchorSet

Subset an AnchorSet object
contrast-theory

Get the intensity and/or luminance of a color
VlnPlot

Single cell violin plot
TopFeatures

Find features with highest scores for a given dimensional reduction technique
GroupCorrelationPlot

Boxplot of correlation of a variable (e.g. number of UMIs) with expression data
SlideSeq-class

The SlideSeq class
PCASigGenes

Significant genes from a PCA
NormalizeData

Normalize Data
JackStrawPlot

JackStraw Plot
MULTIseqDemux

Demultiplex samples based on classification method from MULTI-seq (McGinnis et al., bioRxiv 2018)
LogVMR

Calculate the variance to mean ratio of logged values
JackStrawData-class

The JackStrawData Class
PredictAssay

Predict value from nearest neighbors
PolyFeaturePlot

Polygon FeaturePlot
Read10X_Image

Load a 10X Genomics Visium Image
as.Seurat.CellDataSet

Convert objects to Seurat objects
as.SingleCellExperiment

Convert objects to SingleCellExperiment objects
VariableFeaturePlot

View variable features
UpdateSymbolList

Get updated synonyms for gene symbols
Read10X_h5

Read 10X hdf5 file
RunMixscape

Run Mixscape
as.sparse.H5Group

Cast to Sparse
cc.genes

Cell cycle genes
TransferData

Transfer data
UpdateSCTAssays

Update pre-V4 Assays generated with SCTransform in the Seurat to the new SCTAssay class
merge.SCTAssay

Merge SCTAssay objects
RunMoransI

Compute Moran's I value.
ScaleFactors

Get image scale factors
ScaleData

Scale and center the data.
reexports

Objects exported from other packages