Learn R Programming

⚠️There's a newer version (5.2.1) 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

60,896

Version

4.0.3

License

GPL-3 | file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Paul Hoffman

Last Published

June 10th, 2021

Functions in Seurat (4.0.3)

AnchorSet-class

The AnchorSet Class
BGTextColor

Determine text color based on background color
CollapseEmbeddingOutliers

Move outliers towards center on dimension reduction plot
AverageExpression

Averaged feature expression by identity class
DimReduc-class

The DimReduc Class
AnnotateAnchors

Add info to anchor matrix
CalcPerturbSig

Calculate a perturbation Signature
JackStraw

Determine statistical significance of PCA scores.
AggregateExpression

Aggregated feature expression by identity class
ColorDimSplit

Color dimensional reduction plot by tree split
subset.AnchorSet

Subset an AnchorSet object
Assay-class

The Assay Class
DiscretePalette

Discrete colour palettes from the pals package
CellCycleScoring

Score cell cycle phases
FindMultiModalNeighbors

Construct weighted nearest neighbor graph
BarcodeInflectionsPlot

Plot the Barcode Distribution and Calculated Inflection Points
AddAzimuthScores

Add Azimuth Scores
AddAzimuthResults

Add Azimuth Results
IntegrateData

Integrate data
BuildClusterTree

Phylogenetic Analysis of Identity Classes
CombinePlots

Combine ggplot2-based plots into a single plot
DimPlot

Dimensional reduction plot
FilterSlideSeq

Filter stray beads from Slide-seq puck
GetImage.SlideSeq

Get Image Data
Graph-class

The Graph Class
CellSelector

Cell Selector
AugmentPlot

Augments ggplot2-based plot with a PNG image.
JackStrawData-class

The JackStrawData Class
FeaturePlot

Visualize 'features' on a dimensional reduction plot
Cells.SCTModel

Get Cell Names
STARmap-class

The STARmap class
CalculateBarcodeInflections

Calculate the Barcode Distribution Inflection
CollapseSpeciesExpressionMatrix

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

Get an Assay object from a given Seurat object.
AddModuleScore

Calculate module scores for feature expression programs in single cells
FindAllMarkers

Gene expression markers for all identity classes
FoldChange

Fold Change
GetTransferPredictions

Get the predicted identity
GetIntegrationData

Get integration data
CellsByImage

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

Map query cells to a reference
TopFeatures

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

Dimensional reduction heatmap
DietSeurat

Slim down a Seurat object
ExpSD

Calculate the standard deviation of logged values
ExpMean

Calculate the mean of logged values
GetResidual

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

Sample UMI
ElbowPlot

Quickly Pick Relevant Dimensions
DoHeatmap

Feature expression heatmap
CaseMatch

Match the case of character vectors
FindConservedMarkers

Finds markers that are conserved between the groups
CellScatter

Cell-cell scatter plot
FeatureScatter

Scatter plot of single cell data
FindVariableFeatures

Find variable features
ExpVar

Calculate the variance of logged values
BlackAndWhite

Create a custom color palette
DEenrichRPlot

DE and EnrichR pathway visualization barplot
ISpatialDimPlot

Visualize clusters spatially and interactively
CreateSCTAssayObject

Create a SCT Assay object
FindSpatiallyVariableFeatures

Find spatially variable features
ISpatialFeaturePlot

Visualize features spatially and interactively
ProjectDim

Project Dimensional reduction onto full dataset
Neighbor-class

The Neighbor Class
FindClusters

Cluster Determination
CustomDistance

Run a custom distance function on an input data matrix
DotPlot

Dot plot visualization
NNPlot

Highlight Neighbors in DimPlot
SetIntegrationData

Set integration data
GetTissueCoordinates.SlideSeq

Get Tissue Coordinates
VisiumV1-class

The VisiumV1 class
FindMarkers

Gene expression markers of identity classes
PCASigGenes

Significant genes from a PCA
SCTransform

Use regularized negative binomial regression to normalize UMI count data
HTODemux

Demultiplex samples based on data from cell 'hashing'
LoadAnnoyIndex

Load the Annoy index file
LocalStruct

Calculate the local structure preservation metric
FastRowScale

Scale and/or center matrix rowwise
IntegrationAnchorSet-class

The IntegrationAnchorSet Class
FindIntegrationAnchors

Find integration anchors
PrepSCTIntegration

Prepare an object list normalized with sctransform for integration.
IntegrateEmbeddings

Integrate low dimensional embeddings
RunCCA

Perform Canonical Correlation Analysis
MappingScore

Metric for evaluating mapping success
FindNeighbors

(Shared) Nearest-neighbor graph construction
LabelPoints

Add text labels to a ggplot2 plot
NormalizeData

Normalize Data
LogNormalize

Normalize raw data
HVFInfo.SCTAssay

Get Variable Feature Information
HoverLocator

Hover Locator
PlotClusterTree

Plot clusters as a tree
UpdateSCTAssays

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

Aggregate expression of multiple features into a single feature
IntegrationData-class

The IntegrationData Class
RegroupIdents

Regroup idents based on meta.data info
IFeaturePlot

Visualize features in dimensional reduction space interactively
GroupCorrelation

Compute the correlation of features broken down by groups with another covariate
RunPCA

Run Principal Component Analysis
TransferAnchorSet-class

The TransferAnchorSet Class
FindSubCluster

Find subclusters under one cluster
cc.genes

Cell cycle genes
MinMax

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

Load STARmap data
FindTransferAnchors

Find transfer anchors
Read10X

Load in data from 10X
HTOHeatmap

Hashtag oligo heatmap
TopNeighbors

Get nearest neighbors for given cell
ScaleFactors

Get image scale factors
LogVMR

Calculate the variance to mean ratio of logged values
ScaleData

Scale and center the data.
SpatialPlot

Visualize spatial clustering and expression data.
SeuratTheme

Seurat Themes
PercentageFeatureSet

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

Function to prepare data for Linear Discriminant Analysis.
RunSPCA

Run Supervised Principal Component Analysis
GroupCorrelationPlot

Boxplot of correlation of a variable (e.g. number of UMIs) with expression data
RunLDA

Run Linear Discriminant Analysis
RunICA

Run Independent Component Analysis on gene expression
Seurat-class

The Seurat Class
JackStrawPlot

JackStraw Plot
Read10X_h5

Read 10X hdf5 file
as.sparse.H5Group

Cast to Sparse
PlotPerturbScore

Function to plot perturbation score distributions.
RunUMAP

Run UMAP
PolyDimPlot

Polygon DimPlot
RunTSNE

Run t-distributed Stochastic Neighbor Embedding
Read10X_Image

Load a 10X Genomics Visium Image
RelativeCounts

Normalize raw data to fractions
RunMarkVario

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

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

Compute Jackstraw scores significance.
L2Dim

L2-normalization
LinkedPlots

Visualize spatial and clustering (dimensional reduction) data in a linked, interactive framework
ModalityWeights-class

The ModalityWeights Class
ProjectUMAP

Project query into UMAP coordinates of a reference
SlideSeq-class

The SlideSeq class
as.SingleCellExperiment

Convert objects to SingleCellExperiment objects
SaveAnnoyIndex

Save the Annoy index
LabelClusters

Label clusters on a ggplot2-based scatter plot
VizDimLoadings

Visualize Dimensional Reduction genes
SelectIntegrationFeatures

Select integration features
as.Seurat.CellDataSet

Convert objects to Seurat objects
Radius.SlideSeq

Get Spot Radius
L2CCA

L2-Normalize CCA
MixscapeLDA

Linear discriminant analysis on pooled CRISPR screen data.
RunMoransI

Compute Moran's I value.
VlnPlot

Single cell violin plot
SCTResults

Get SCT results from an Assay
ReadMtx

Load in data from remote or local mtx files
MixingMetric

Calculates a mixing metric
SubsetByBarcodeInflections

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

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

Differential expression heatmap for mixscape
SplitObject

Splits object into a list of subsetted objects.
RidgePlot

Single cell ridge plot
ReadSlideSeq

Load Slide-seq spatial data
RenameCells.SCTAssay

Rename Cells in an Object
cc.genes.updated.2019

Cell cycle genes: 2019 update
Load10X_Spatial

Load a 10x Genomics Visium Spatial Experiment into a Seurat object
SCTAssay-class

The SCTModel Class
SeuratCommand-class

The SeuratCommand Class
Seurat-package

Seurat: Tools for Single Cell Genomics
contrast-theory

Get the intensity and/or luminance of a color
TransferData

Transfer data
PolyFeaturePlot

Polygon FeaturePlot
as.CellDataSet

Convert objects to CellDataSet objects
reexports

Objects exported from other packages
RunMixscape

Run Mixscape
PredictAssay

Predict value from nearest neighbors
SpatialImage-class

The SpatialImage Class
UpdateSymbolList

Get updated synonyms for gene symbols
merge.SCTAssay

Merge SCTAssay objects
VariableFeaturePlot

View variable features