Description Usage Arguments Value
View source: R/exploratory_pipeline.R
Explore a single-cell dataset, alternating between gene selection and clustering.
1 2 3 |
dge |
Seurat object. |
log_fc |
Passed to RefineVariableGenes. |
eligible_genes |
Restricts the set of genes used. Try setting it to 'get_mouse_tfs()'. |
maxiter |
Iteration limit. Issues warning if hit. |
tol |
If the list changes by less than this many genes (added + removed), it stops. |
cluster_method |
A user-provided function to re-estimate clusters, modeled off Seurat::FindClusters. It should take a Seurat object as the first arg. It should also accept a 'pc.use' input (even if you just discard it). For your convenience, the principal components get updated before this function is called. The TSNE embedding doesn't, so don't use DBClustDimension alone. |
num_pc |
Used in recomputing the number of PCs, and '1:num_pc' is passed to 'cluster_method' as 'pc.use'. |
... |
Extra parameters passed to 'cluster_method' |
List with names "dge" (the updated seurat object) and "iteration_stats" (numbers of genes present, added, and removed at each iteration.)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.