filtered_biplot.Rd
produce a biplot based on sharing of information between a `prcomp`-like output and a SingleCellExperiment
filtered_biplot(
prcomp_output,
sce,
sampvar = "Barcode",
colorvar = "label.main",
which = c(1, 2),
nvar = 5,
shr = 0.6,
...
)
instance of prcomp, as produced by, e.g., irlba::prcomp_irlba
a SingleCellExperiment instance
character(1) name of a variable in `colData(sce)` that will be used to label samples
character(1) names of a variable in `colData(sce)` that will be used to color points
numeric(2), gives dimensions of `prcomp_output$x` to use for point locations
numeric(1) number of highly ranked features (by sum of squares of loadings) to use in biplot
numeric(1) a fudge factor to 'shrink' projection span relative to boundaries of display
not used
a ggplot instance