powered by
NOTE: the dataset must be dense matrix in UCSC Xena data hubs.
vis_identifier_dim_dist( dataset = NULL, ids = NULL, grp_df, samples = NULL, return.data = FALSE, DR_method = c("PCA", "UMAP", "tSNE"), add_margin = NULL, palette = "Set1" )
a ggplot object.
ggplot
the dataset to obtain identifiers.
the molecule identifiers.
When dataset and id are all not NULL, it should be a data.frame with 2 columns.
dataset
id
NULL
data.frame
The first column refers to sample ID.
The second column refers to groups indicated in axis X.
default is NULL, can be common sample names for two datasets.
whether to reture the raw meta/matrix data (list) instead of plot
the dimensionality reduction method
the marginal plot (NULL, "density", "boxplot")
the color setting of RColorBrewer
# vis_identifier_dim_dist(expr_dataset, ids, grp_df, DR_method="PCA")
Run the code above in your browser using DataLab