t_SNE_plot: t-SNE plot

View source: R/fct_04_pca.R

t_SNE_plotR Documentation

t-SNE plot

Description

Draw a t-distributed stochastic neighbor embedding (t-SNE) plot

Usage

t_SNE_plot(
  data,
  sample_info,
  selected_color = "Names",
  selected_shape = "Names",
  plots_color_select
)

Arguments

data

Matrix of gene data that has been through pre_process()

sample_info

Matrix of sample information from experiment design file

selected_color

String designating factor to color points by. Should be one of the design factors from the design file or "Names" as default which automatically detects groups from gene data file

selected_shape

String designating factor to shape points by. Should be one of the design factors from the design file or "Names" as default which automatically detects groups from gene data file

plots_color_select

Vector of colors for plots

Value

A ggplot object formatted t-SNE plot

See Also

Other PCA functions: MDS_plot(), PCA_Scree(), PCA_biplot(), PCA_plot(), PCA_plot_3d(), PCAtools_eigencorplot(), pc_factor_correlation()

Other plots: PCA_plot(), chr_counts_ggplot(), chr_normalized_ggplot(), cor_plot(), draw_sample_tree(), eda_boxplot(), eda_density(), eda_scatter(), gene_counts_ggplot(), individual_plots(), k_means_elbow(), mean_sd_plot(), rRNA_counts_ggplot(), sd_density(), total_counts_ggplot()


espors/idepGolem documentation built on Oct. 27, 2024, 4:56 a.m.