remove_signs | R Documentation |
This function removes signs including too few or too many genes.
remove_signs(sce = NULL, min_ngenes = 2, max_ngenes = 1000)
sce |
A SingleCellExperiment object. |
min_ngenes |
Minimum number of genes, which must be greater than one. |
max_ngenes |
Maximum number of genes, which must be greater than one. |
A SingleCellExperiment object.
data(pbmc_eg) data(human_GO_eg) pbmcs <- list(GO = pbmc_eg) S4Vectors::metadata(pbmcs$GO) <- list(sign = human_GO_eg[["BP"]]) pbmcs$GO <- remove_signs(sce = pbmcs$GO, min_ngenes = 2, max_ngenes = 1000) # The results are stored in `metadata(pbmcs$GO)$sign`.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.