hippo_tsne_plot: visualize each round of hippo through t-SNE

Description Usage Arguments Value Examples

View source: R/hippo.R

Description

visualize each round of hippo through t-SNE

Usage

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

Arguments

sce

SincleCellExperiment object with hippo and t-SNE 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 for the ggplot output

Value

ggplot object for t-SNE 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="tsne")
hippo_tsne_plot(toydata)

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