filterDoublets | R Documentation |
This function will filter doublets from an ArchRProject after addDoubletScores() has been run.
filterDoublets(
ArchRProj = NULL,
cutEnrich = 1,
cutScore = -Inf,
filterRatio = 1
)
ArchRProj |
An |
cutEnrich |
The minimum numeric cutoff for |
cutScore |
The minimum numeric cutoff for |
filterRatio |
The maximum ratio of predicted doublets to filter based on the number of pass-filter cells.
For example, if there are 5000 cells, the maximum would be |
# Get Test ArchR Project
proj <- getTestProject()
# Add Doublet Scores for Small Project
proj <- addDoubletScores(proj, dimsToUse = 1:5, LSIParams = list(dimsToUse = 1:5, varFeatures=1000, iterations = 2))
# Filter Doublets (Since Low Cells filterRatio has to be high before removing 1 cell!)
proj <- filterDoublets(proj, filterRatio=10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.