powered by
Visualize factor expression and gene loading
plotGeneLoadings( object, markerTable, useFactor, useDimRed = NULL, nLabel = 15, nPlot = 30, ... )plotGeneLoadingRank( object, markerTable, useFactor, nLabel = 15, nPlot = 30, ... )
plotGeneLoadingRank( object, markerTable, useFactor, nLabel = 15, nPlot = 30, ... )
A liger object with valid factorization result.
Returned result of getFactorMarkers.
getFactorMarkers
Integer index for which factor to visualize.
Name of the variable storing dimensionality reduction result in the cellMeta slot. Default "UMAP".
cellMeta
"UMAP"
Integer, number of top genes to be shown with text labels. Default 15.
15
Integer, number of top genes to be shown in the loading rank plot. Default 30.
30
Additional plot theme setting arguments passed to .ggScatter and .ggplotLigerTheme.
.ggScatter
.ggplotLigerTheme
result <- getFactorMarkers(pbmcPlot, "ctrl", "stim") plotGeneLoadings(pbmcPlot, result, useFactor = 2)
Run the code above in your browser using DataLab