plotGeneLoadings {rliger} | R Documentation |
Visualize factor expression and gene loading
Description
Visualize factor expression and gene loading
Usage
plotGeneLoadings(
object,
markerTable,
useFactor,
useDimRed = NULL,
nLabel = 15,
nPlot = 30,
...
)
plotGeneLoadingRank(
object,
markerTable,
useFactor,
nLabel = 15,
nPlot = 30,
...
)
Arguments
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 |
... |
Additional plot theme setting arguments passed to
|
Examples
result <- getFactorMarkers(pbmcPlot, "ctrl", "stim")
plotGeneLoadings(pbmcPlot, result, useFactor = 2)
[Package rliger version 2.0.1 Index]