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

54,321

Version

4.0.5

License

GPL-3 | file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Paul Hoffman

Last Published

October 17th, 2021

Functions in Seurat (4.0.5)

AnnotateAnchors

Add info to anchor matrix
Cells.SCTModel

Get Cell Names
CellsByImage

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

Determine text color based on background color
CalculateBarcodeInflections

Calculate the Barcode Distribution Inflection
CalcPerturbSig

Calculate a perturbation Signature
AugmentPlot

Augments ggplot2-based plot with a PNG image.
CustomDistance

Run a custom distance function on an input data matrix
CreateSCTAssayObject

Create a SCT Assay object
ExpVar

Calculate the variance of logged values
FastRowScale

Scale and/or center matrix rowwise
DimHeatmap

Dimensional reduction heatmap
BuildClusterTree

Phylogenetic Analysis of Identity Classes
BarcodeInflectionsPlot

Plot the Barcode Distribution and Calculated Inflection Points
DietSeurat

Slim down a Seurat object
DiscretePalette

Discrete colour palettes from the pals package
DimReduc-class

The DimReduc Class
DimPlot

Dimensional reduction plot
AddAzimuthResults

Add Azimuth Results
CaseMatch

Match the case of character vectors
AddAzimuthScores

Add Azimuth Scores
CellCycleScoring

Score cell cycle phases
AggregateExpression

Aggregated feature expression by identity class
DoHeatmap

Feature expression heatmap
CollapseEmbeddingOutliers

Move outliers towards center on dimension reduction plot
CollapseSpeciesExpressionMatrix

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

Finds markers that are conserved between the groups
FindClusters

Cluster Determination
DEenrichRPlot

DE and EnrichR pathway visualization barplot
ExpMean

Calculate the mean of logged values
BlackAndWhite

Create a custom color palette
FindIntegrationAnchors

Find integration anchors
FindMultiModalNeighbors

Construct weighted nearest neighbor graph
CellScatter

Cell-cell scatter plot
FindSpatiallyVariableFeatures

Find spatially variable features
FindNeighbors

(Shared) Nearest-neighbor graph construction
ExpSD

Calculate the standard deviation of logged values
FoldChange

Fold Change
FindSubCluster

Find subclusters under one cluster
FilterSlideSeq

Filter stray beads from Slide-seq puck
FindAllMarkers

Gene expression markers for all identity classes
FindTransferAnchors

Find transfer anchors
GetAssay

Get an Assay object from a given Seurat object.
HVFInfo.SCTAssay

Get Variable Feature Information
FindMarkers

Gene expression markers of identity classes
IntegrationData-class

The IntegrationData Class
ColorDimSplit

Color dimensional reduction plot by tree split
CellSelector

Cell Selector
Graph-class

The Graph Class
GetTransferPredictions

Get the predicted identity
IFeaturePlot

Visualize features in dimensional reduction space interactively
FindVariableFeatures

Find variable features
ISpatialDimPlot

Visualize clusters spatially and interactively
ElbowPlot

Quickly Pick Relevant Dimensions
FeaturePlot

Visualize 'features' on a dimensional reduction plot
GetImage.SlideSeq

Get Image Data
CombinePlots

Combine ggplot2-based plots into a single plot
DotPlot

Dot plot visualization
GetIntegrationData

Get integration data
FeatureScatter

Scatter plot of single cell data
HoverLocator

Hover Locator
L2Dim

L2-normalization
L2CCA

L2-Normalize CCA
IntegrateEmbeddings

Integrate low dimensional embeddings
HTODemux

Demultiplex samples based on data from cell 'hashing'
HTOHeatmap

Hashtag oligo heatmap
MapQuery

Map query cells to a reference
PrepLDA

Function to prepare data for Linear Discriminant Analysis.
IntegrationAnchorSet-class

The IntegrationAnchorSet Class
MappingScore

Metric for evaluating mapping success
GetTissueCoordinates.SlideSeq

Get Tissue Coordinates
GroupCorrelation

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

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

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

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

The JackStrawData Class
LogNormalize

Normalize raw data
JackStraw

Determine statistical significance of PCA scores.
LocalStruct

Calculate the local structure preservation metric
NNPlot

Highlight Neighbors in DimPlot
NormalizeData

Normalize Data
Neighbor-class

The Neighbor Class
MixingMetric

Calculates a mixing metric
Load10X_Spatial

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

Significant genes from a PCA
JackStrawPlot

JackStraw Plot
ReadSlideSeq

Load Slide-seq spatial data
RunLDA

Run Linear Discriminant Analysis
ReadSTARsolo

Read output from STARsolo
LabelClusters

Label clusters on a ggplot2-based scatter plot
PrepSCTIntegration

Prepare an object list normalized with sctransform for integration.
SCTransform

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

The STARmap class
MixscapeHeatmap

Differential expression heatmap for mixscape
SetIntegrationData

Set integration data
Seurat-class

The Seurat Class
ISpatialFeaturePlot

Visualize features spatially and interactively
IntegrateData

Integrate data
LoadAnnoyIndex

Load the Annoy index file
TopCells

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

Load STARmap data
MixscapeLDA

Linear discriminant analysis on pooled CRISPR screen data.
ProjectDim

Project Dimensional reduction onto full dataset
ModalityWeights-class

The ModalityWeights Class
RegroupIdents

Regroup idents based on meta.data info
LabelPoints

Add text labels to a ggplot2 plot
ProjectUMAP

Project query into UMAP coordinates of a reference
RelativeCounts

Normalize raw data to fractions
PlotPerturbScore

Function to plot perturbation score distributions.
SampleUMI

Sample UMI
SaveAnnoyIndex

Save the Annoy index
ReadMtx

Load in data from remote or local mtx files
RunCCA

Perform Canonical Correlation Analysis
PolyDimPlot

Polygon DimPlot
ReadParseBio

Read output from Parse Biosciences
RunICA

Run Independent Component Analysis on gene expression
SlideSeq-class

The SlideSeq class
UpdateSCTAssays

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

Seurat Themes
TransferData

Transfer data
TopFeatures

Find features with highest scores for a given dimensional reduction technique
subset.AnchorSet

Subset an AnchorSet object
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
UpdateSymbolList

Get updated synonyms for gene symbols
VariableFeaturePlot

View variable features
PercentageFeatureSet

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

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

Run Supervised Principal Component Analysis
RunPCA

Run Principal Component Analysis
PlotClusterTree

Plot clusters as a tree
Seurat-package

Seurat: Tools for Single Cell Genomics
RunTSNE

Run t-distributed Stochastic Neighbor Embedding
MetaFeature

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

The SeuratCommand Class
Read10X_Image

Load a 10X Genomics Visium Image
TopNeighbors

Get nearest neighbors for given cell
RidgePlot

Single cell ridge plot
SpatialPlot

Visualize spatial clustering and expression data.
SelectIntegrationFeatures

Select integration features
Read10X_h5

Read 10X hdf5 file
RenameCells.SCTAssay

Rename Cells in an Object
VizDimLoadings

Visualize Dimensional Reduction genes
ScoreJackStraw

Compute Jackstraw scores significance.
VisiumV1-class

The VisiumV1 class
SpatialImage-class

The SpatialImage Class
TransferAnchorSet-class

The TransferAnchorSet Class
ScaleData

Scale and center the data.
VlnPlot

Single cell violin plot
RunUMAP

Run UMAP
ScaleFactors

Get image scale factors
Radius.SlideSeq

Get Spot Radius
Read10X

Load in data from 10X
PolyFeaturePlot

Polygon FeaturePlot
PredictAssay

Predict value from nearest neighbors
MinMax

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

Run Mixscape
RunMoransI

Compute Moran's I value.
SCTAssay-class

The SCTModel Class
cc.genes

Cell cycle genes
as.sparse.H5Group

Cast to Sparse
merge.SCTAssay

Merge SCTAssay objects
reexports

Objects exported from other packages
SCTResults

Get SCT results from an Assay
as.SingleCellExperiment

Convert objects to SingleCellExperiment objects
SubsetByBarcodeInflections

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

Convert objects to Seurat objects
SplitObject

Splits object into a list of subsetted objects.
cc.genes.updated.2019

Cell cycle genes: 2019 update
contrast-theory

Get the intensity and/or luminance of a color
as.CellDataSet

Convert objects to CellDataSet objects
AverageExpression

Averaged feature expression by identity class
AddModuleScore

Calculate module scores for feature expression programs in single cells
Assay-class

The Assay Class
AnchorSet-class

The AnchorSet Class