hippo_umap_plot: visualize each round of hippo through UMAP

Description Usage Arguments Value Examples

View source: R/hippo.R

Description

visualize each round of hippo through UMAP

Usage

1
hippo_umap_plot(sce, k = NA, pointsize = 0.5, pointalpha = 0.5, plottitle = "")

Arguments

sce

SingleCellExperiment object with hippo and UMAP result in it

k

number of rounds of clustering that you'd like to see result. Default is 1 to K

pointsize

size of the point for the plot (default 0.5)

pointalpha

transparency level of points for the plot (default 0.5)

plottitle

title of the resulting plot

Value

ggplot object for umap in each round

Examples

1
2
3
4
5
6
7
8
9
data(toydata)
set.seed(20200505)
toydata = hippo(toydata,
          feature_method = "zero_inflation",
          clustering_method = "kmeans",
          K = 4,
          outlier_proportion = 0.00001)
toydata = hippo_dimension_reduction(toydata, method="umap")
hippo_umap_plot(toydata)

tk382/HIPPO documentation built on Aug. 17, 2021, 2:29 p.m.