embed | R Documentation |
This utility function formats the output for bioplotr
's projection
functions (plot_pca
, plot_mds
, and plot_tsne
).
embed( df, group, covar, group_cols, covar_cols, feature_names, label, size, alpha, title, xlab, ylab, legend, hover, D3 )
df |
Data frame formatted for |
group |
Optional factor variable formatted by |
covar |
Optional continuous variable formatted by |
group_cols |
Palette for |
covar_cols |
Palette for |
feature_names |
Feature names. |
label |
Label data points by sample name? |
title |
Plot title. |
xlab |
X-axis label. |
ylab |
Y-axis label. |
legend |
Legend location. |
hover |
Show sample name by hovering mouse over data point? |
D3 |
Render plot in three dimensions? |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.