plotGenes | R Documentation |
Uses plotGene to plot each gene (and dataset) on a separate page. It is recommended to call this function into a PDF due to the large number of plots produced.
plotGenes(object, genes, ...)
object |
|
genes |
Vector of gene names. |
... |
arguments passed from |
If returning single plot, returns ggplot object; if returning multiple plots; returns list of ggplot objects.
ligerex <- createLiger(list(ctrl = ctrl, stim = stim))
ligerex <- normalize(ligerex)
ligerex <- selectGenes(ligerex)
ligerex <- scaleNotCenter(ligerex)
ligerex <- optimizeALS(ligerex, k = 5, max.iter = 1)
ligerex <- quantile_norm(ligerex)
ligerex <- runTSNE(ligerex)
plotGenes(ligerex, c("CD74", "NKG7"), pt.size = 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.