View source: R/visualization.R
plotGeneLoadings | R Documentation |
Visualize factor expression and gene loading
plotGeneLoadings(
object,
markerTable,
useFactor,
useDimRed = NULL,
nLabel = 15,
nPlot = 30,
...
)
plotGeneLoadingRank(
object,
markerTable,
useFactor,
nLabel = 15,
nPlot = 30,
...
)
object |
A liger object with valid factorization result. |
markerTable |
Returned result of |
useFactor |
Integer index for which factor to visualize. |
useDimRed |
Name of the variable storing dimensionality reduction result
in the |
nLabel |
Integer, number of top genes to be shown with text labels.
Default |
nPlot |
Integer, number of top genes to be shown in the loading rank
plot. Default |
... |
Arguments passed on to
|
result <- getFactorMarkers(pbmcPlot, "ctrl", "stim")
plotGeneLoadings(pbmcPlot, result, useFactor = 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.