scGODotPlot | R Documentation |
scGODotPlot visualization for all clusters
scGODotPlot(
object = NULL,
key = NULL,
clusters = NULL,
direction = "up",
ont = "BP",
padj.cutoff = 0.01,
order.genes = FALSE,
colors = NULL,
font.size = 8,
top_n = 5,
extra = NULL
)
object |
Seurat object |
key |
The keyword that is stored in object@misc$key |
clusters |
Vectors of clusters to display, default clusters=NULL means all clusters |
direction |
Regulation direction to use, only 'up' or 'down' is allowed |
ont |
Ontology to use, only 'BP', 'CC', or 'MF' is allowed |
padj.cutoff |
The cutoff of adjusted Pvalue, default padj.cutoff=0.01 |
order.genes |
Order GO results by the number of significant genes, default is FALSE |
colors |
Colors to specify, default cols = c('white', 'red') |
font.size |
Font size of axis |
top_n |
Only top_n entries to plot |
extra |
Extra slot used to fetch GOs |
A ggplot object
scGODotPlot(object = H3N2_small,
key = "Infected_vs_Bystander.GO",
ont = "BP",
top_n = 6,
direction = "up",
cluster = "0",
font.size = 8
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.