View source: R/filter_gene_clusters.R
filter_cluster_sd | R Documentation |
Filter out gene clusters with small standard deviation.
filter_cluster_sd(object = NULL, min_sd = 0.2)
object |
A ClusterSet object. |
min_sd |
An integer indicating the minimum standard deviation for a clusters to be kept. |
A ClusterSet object where clusters not passing the filter have been removed.
load_example_dataset("7871581/files/pbmc3k_medium_clusters")
df <- cluster_stats(pbmc3k_medium_clusters)
plot_cluster_stats(df)
plot_cluster_stats(df, highlight=df$sd_total > 0.3)
pbmc3k_medium_clusters_sub <- filter_cluster_sd(pbmc3k_medium_clusters, min_sd=0.3)
plot_cluster_stats(cluster_stats(pbmc3k_medium_clusters_sub))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.