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

48,395

Version

4.0.0

License

GPL-3 | file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Paul Hoffman

Last Published

January 30th, 2021

Functions in Seurat (4.0.0)

AggregateExpression

Aggregated feature expression by identity class
AugmentPlot

Augments ggplot2-based plot with a PNG image.
AnnotateAnchors

Add info to anchor matrix
AnchorSet-class

The AnchorSet Class
Assay-class

The Assay Class
BarcodeInflectionsPlot

Plot the Barcode Distribution and Calculated Inflection Points
AddModuleScore

Calculate module scores for feature expression programs in single cells
AverageExpression

Averaged feature expression by identity class
BuildClusterTree

Phylogenetic Analysis of Identity Classes
CaseMatch

Match the case of character vectors
BlackAndWhite

Create a custom color palette
FeaturePlot

Visualize 'features' on a dimensional reduction plot
FindSpatiallyVariableFeatures

Find spatially variable features
DEenrichRPlot

DE and EnrichR pathway visualization barplot
CreateSCTAssayObject

Create a SCT Assay object
FeatureScatter

Scatter plot of single cell data
FindSubCluster

Find subclusters under one cluster
CustomDistance

Run a custom distance function on an input data matrix
CellSelector

Cell Selector
CellScatter

Cell-cell scatter plot
FindTransferAnchors

Find transfer anchors
FindVariableFeatures

Find variable features
DiscretePalette

Discrete colour palettes from the pals package
CalcPerturbSig

Calculate a perturbation Signature
FindConservedMarkers

Finds markers that are conserved between the groups
FoldChange

Fold Change
ExpSD

Calculate the standard deviation of logged values
ExpMean

Calculate the mean of logged values
FindClusters

Cluster Determination
GetAssay

Get an Assay object from a given Seurat object.
CellCycleScoring

Score cell cycle phases
HTOHeatmap

Hashtag oligo heatmap
HTODemux

Demultiplex samples based on data from cell 'hashing'
JackStraw

Determine statistical significance of PCA scores.
Cells.SCTModel

Get Cell Names
DietSeurat

Slim down a Seurat object
GetTransferPredictions

Get the predicted identity
DotPlot

Dot plot visualization
ElbowPlot

Quickly Pick Relevant Dimensions
FindNeighbors

(Shared) Nearest-neighbor graph construction
CalculateBarcodeInflections

Calculate the Barcode Distribution Inflection
FindMultiModalNeighbors

Construct weighted nearest neighbor graph
DimHeatmap

Dimensional reduction heatmap
Graph-class

The Graph Class
CellsByImage

Get a vector of cell names associated with an image (or set of images)
JackStrawData-class

The JackStrawData Class
DoHeatmap

Feature expression heatmap
FilterSlideSeq

Filter stray beads from Slide-seq puck
MULTIseqDemux

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

Map query cells to a reference
CollapseEmbeddingOutliers

Move outliers towards center on dimension reduction plot
BGTextColor

Determine text color based on background color
CombinePlots

Combine ggplot2-based plots into a single plot
CollapseSpeciesExpressionMatrix

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

Color dimensional reduction plot by tree split
DimPlot

Dimensional reduction plot
ExpVar

Calculate the variance of logged values
DimReduc-class

The DimReduc Class
ModalityWeights-class

The ModalityWeights Class
FindAllMarkers

Gene expression markers for all identity classes
FastRowScale

Scale and/or center matrix rowwise
IntegrateData

Integrate data
GetTissueCoordinates.SlideSeq

Get Tissue Coordinates
NNPlot

Highlight Neighbors in DimPlot
GetResidual

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

Project query into UMAP coordinates of a reference
LoadSTARmap

Load STARmap data
IntegrateEmbeddings

Integrate low dimensional embeddings
GetImage.SlideSeq

Get Image Data
L2Dim

L2-normalization
FindIntegrationAnchors

Find integration anchors
GetIntegrationData

Get integration data
LabelClusters

Label clusters on a ggplot2-based scatter plot
GroupCorrelation

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

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

Calculate the local structure preservation metric
GroupCorrelationPlot

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

Gene expression markers of identity classes
MixscapeHeatmap

Differential expression heatmap for mixscape
JackStrawPlot

JackStraw Plot
LoadAnnoyIndex

Load the Annoy index file
L2CCA

L2-Normalize CCA
ISpatialDimPlot

Visualize clusters spatially and interactively
MixscapeLDA

Linear discriminant analysis on pooled CRISPR screen data.
HoverLocator

Hover Locator
Neighbor-class

The Neighbor Class
PlotClusterTree

Plot clusters as a tree
RenameCells.SCTAssay

Rename Cells in an Object
PlotPerturbScore

Function to plot perturbation score distributions.
NormalizeData

Normalize Data
LogNormalize

Normalize raw data
LogVMR

Calculate the variance to mean ratio of logged values
PredictAssay

Predict value from nearest neighbors
IFeaturePlot

Visualize features in dimensional reduction space interactively
LabelPoints

Add text labels to a ggplot2 plot
ISpatialFeaturePlot

Visualize features spatially and interactively
ScaleFactors

Get image scale factors
Read10X

Load in data from 10X
Read10X_Image

Load a 10X Genomics Visium Image
ScaleData

Scale and center the data.
Radius.SlideSeq

Get Spot Radius
PrepSCTIntegration

Prepare an object list normalized with sctransform for integration.
ProjectDim

Project Dimensional reduction onto full dataset
RidgePlot

Single cell ridge plot
SCTAssay-class

The SCTModel Class
Seurat-package

Seurat: Tools for Single Cell Genomics
SeuratCommand-class

The SeuratCommand Class
SampleUMI

Sample UMI
TopCells

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

Get SCT results from an Assay
SaveAnnoyIndex

Save the Annoy index
IntegrationAnchorSet-class

The IntegrationAnchorSet Class
as.CellDataSet

Convert objects to CellDataSet objects
VlnPlot

Single cell violin plot
TopFeatures

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

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

Metric for evaluating mapping success
TransferData

Transfer data
UpdateSCTAssays

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

Merge SCTAssay objects
Read10X_h5

Read 10X hdf5 file
subset.AnchorSet

Subset an AnchorSet object
IntegrationData-class

The IntegrationData Class
RunPCA

Run Principal Component Analysis
ReadSlideSeq

Load Slide-seq spatial data
PolyFeaturePlot

Polygon FeaturePlot
MinMax

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

Calculates a mixing metric
MetaFeature

Aggregate expression of multiple features into a single feature
PolyDimPlot

Polygon DimPlot
reexports

Objects exported from other packages
PrepLDA

Function to prepare data for Linear Discriminant Analysis.
RunCCA

Perform Canonical Correlation Analysis
RegroupIdents

Regroup idents based on meta.data info
PCASigGenes

Significant genes from a PCA
PercentageFeatureSet

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

Compute Jackstraw scores significance.
RunUMAP

Run UMAP
RelativeCounts

Normalize raw data to fractions
SpatialImage-class

The SpatialImage Class
RunTSNE

Run t-distributed Stochastic Neighbor Embedding
SelectIntegrationFeatures

Select integration features
contrast-theory

Get the intensity and/or luminance of a color
SpatialPlot

Visualize spatial clustering and expression data.
cc.genes.updated.2019

Cell cycle genes: 2019 update
RunICA

Run Independent Component Analysis on gene expression
RunSPCA

Run Supervised Principal Component Analysis
RunMixscape

Run Mixscape
UpdateSymbolList

Get updated synonyms for gene symbols
RunMoransI

Compute Moran's I value.
VariableFeaturePlot

View variable features
as.Seurat.CellDataSet

Convert objects to Seurat objects
as.SingleCellExperiment

Convert objects to SingleCellExperiment objects
RunLDA

Run Linear Discriminant Analysis
RunMarkVario

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

Set integration data
Seurat-class

The Seurat Class
SCTransform

Use regularized negative binomial regression to normalize UMI count data
STARmap-class

The STARmap class
SplitObject

Splits object into a list of subsetted objects.
SubsetByBarcodeInflections

Subset a Seurat Object based on the Barcode Distribution Inflection Points
as.sparse.H5Group

Cast to Sparse
cc.genes

Cell cycle genes
VisiumV1-class

The VisiumV1 class
VizDimLoadings

Visualize Dimensional Reduction genes
TopNeighbors

Get nearest neighbors for given cell
SlideSeq-class

The SlideSeq class
TransferAnchorSet-class

The TransferAnchorSet Class
SeuratTheme

Seurat Themes