We have made minor changes in v4, primarily to improve the performance of Seurat v4 on large datasets. This includes minor changes to default parameter settings, and the use of newly available packages for tasks such as the identification of k-nearest neighbors, and graph-based clustering. These changes do not adversely impact downstream results, and we provide a detailed description of key changes below. Users who wish to continue using Seurat v3, or those interested in reproducing results produced by previous versions, may continue to install previous versions here.
nn.method="rann"
.FindMarkers()
function to be easier to understand, interpret, and debug. The results of differential expression are unchanged. However, by default we now prefilter genes and report fold change using base 2, as is commonly done in other differential expression packages, instead of natural log. If the default option is set, the output of FindMarkers()
will include the column avg_log2FC, instead of avg_logFC. Users can restore the previous behavior (natural log), by specifying base = exp(1)
.SCTransform()
, we slightly modify default parameters to improve scalability of parameter estimation for large datasets. For example, when estimating the regularized relationship between mu and theta, we compute this on a subset of the data by setting the ncells
parameter to 5,000. The vst()
function in sctransform v0.3 (available on CRAN here) also introduces minor changes to the process of regularization. We have tested these changes extensively and found a substantial improvement in speed and memory, particularly for large dataset, with no adverse impact to performance. User can compare the results of the SCTransform vignette computed using Seurat v3 and Seurat v4, or set ncells=NULL
on larger datasets to compare results.The following functions have been removed in Seurat v4:
CreateGeneActivityMatrix
replaced by GeneActivity
in Signac
RunLSI
replaced by RunTFIDF
and RunSVD
in Signac
ReadAlevin
and ReadAlevinCsv
moved to SeuratWrappers, see details here
ExportToCellbrowser
and StopCellbrowser
moved to SeuratWrappers, see details here