View source: R/filter_gene_clusters.R
filter_nb_supporting_cells | R Documentation |
This function filters out the gene clusters based on the number of cells expressing a certain percentage of genes present in this gene cluster.
filter_nb_supporting_cells(
object = NULL,
min_nb_supporting_cell = 3,
min_pct_gene_expressed = 50
)
object |
A ClusterSet object. |
min_nb_supporting_cell |
An integer indicating the minimum number of cell supporting a cluster. A cell supports a cluster if it expresses at least min_pct_gene_expressed % of the genes from the cluster. |
min_pct_gene_expressed |
See min_nb_supporting_cell argument. |
A ClusterSet object where clusters that did not pass the filter have been removed.
load_example_dataset("7871581/files/pbmc3k_medium_clusters")
new_cs <- filter_nb_supporting_cells(pbmc3k_medium_clusters, 3, 50)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.