R/preprocessing.R
SubsetByBarcodeInflections.Rd
This convenience function subsets a Seurat object based on calculated inflection points.
SubsetByBarcodeInflections(object)
Seurat object
Returns a subsetted Seurat object.
See [CalculateBarcodeInflections()] to calculate inflection points and [BarcodeInflectionsPlot()] to visualize and test inflection point calculations.
data("pbmc_small")
pbmc_small <- CalculateBarcodeInflections(
object = pbmc_small,
group.column = 'groups',
threshold.low = 20,
threshold.high = 30
)
SubsetByBarcodeInflections(object = pbmc_small)
#> An object of class Seurat
#> 230 features across 16 samples within 1 assay
#> Active assay: RNA (230 features, 20 variable features)
#> 3 layers present: counts, data, scale.data
#> 2 dimensional reductions calculated: pca, tsne