Description Usage Arguments Value Examples
View source: R/interact_qual.R
Generates an interactive dimension reduction plot that is color-coordinated with qualitative data related to your dataset.
1 | interact_qual(count_data, qual_data, dim_red_meth = c("UMAP", "PCA"))
|
count_data |
dataframe of input data |
qual_data |
qualitative data used to color points of plot |
dim_red_meth |
dimension reduction method: "pca" or "umap" are the options available now |
an interactive dimension reduction plot that is color-coordinated with qualitative data, and on hover, displays sample name and the qualitative feature of interest
1 2 3 4 5 6 | ## Not run:
if(interactive()){
interact_qual(iris[,1:4], iris$Species, "UMAP")
}
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.