plotMDS | R Documentation |
Plots MDS
plotMDS(
df = NULL,
id = NULL,
label_scheme_sub = NULL,
choice = "cmdscale",
dist_co = log2(1),
adjEucDist = FALSE,
method = "euclidean",
p = 2,
k = 3,
dimension = 2,
folds = 1,
show_ids = FALSE,
show_ellipses = FALSE,
col_group = NULL,
col_color = NULL,
col_fill = NULL,
col_shape = NULL,
col_size = NULL,
col_alpha = NULL,
color_brewer = NULL,
fill_brewer = NULL,
size_manual = NULL,
shape_manual = NULL,
alpha_manual = NULL,
scale_log2r = TRUE,
complete_cases = FALSE,
filepath = NULL,
filename = NULL,
center_features = TRUE,
scale_features = TRUE,
theme = NULL,
anal_type = "MDS",
...
)
df |
The name of a primary data file. By default, it will be determined
automatically after matching the types of data and analysis with an
|
id |
Character string; one of |
label_scheme_sub |
A data frame. Subset entries from |
choice |
Character string; the MDS method in |
dist_co |
Numeric; The cut-off in the absolute distance measured by
|
adjEucDist |
Logical; if TRUE, adjusts the inter-plex |
method |
Character string; the distance measure in one of c("euclidean",
"maximum", "manhattan", "canberra", "binary") for |
p |
Numeric; The power of the Minkowski distance in
|
k |
Numeric; The desired dimension for the solution passed to
|
dimension |
Numeric; The desired dimension for pairwise visualization. The default is 2. |
folds |
Not currently used. Integer; the degree of folding data into subsets. The default is one without data folding. |
show_ids |
Logical; if TRUE, shows the sample IDs in |
show_ellipses |
Logical; if TRUE, shows the ellipses by sample groups
according to |
col_group |
Character string to a column key in |
col_color |
Character string to a column key in |
col_fill |
Character string to a column key in |
col_shape |
Character string to a column key in |
col_size |
Character string to a column key in |
col_alpha |
Character string to a column key in |
color_brewer |
Character string to the name of a color brewer for use in
ggplot2::scale_color_brewer,
i.e., |
fill_brewer |
Character string to the name of a color brewer for use in
ggplot2::scale_fill_brewer,
i.e., |
size_manual |
Numeric vector to the scale of sizes for use in
ggplot2::scale_size_manual,
i.e., |
shape_manual |
Numeric vector to the scale of shape IDs for use in
ggplot2::scale_shape_manual,
i.e., |
alpha_manual |
Numeric vector to the scale of transparency of objects for
use in
ggplot2::scale_alpha_manual
, i.e., |
scale_log2r |
Logical; if TRUE, adjusts |
complete_cases |
Logical; if TRUE, only cases that are complete with no missing values will be used. The default is FALSE. |
filepath |
A file path to output results. By default, it will be
determined automatically by the name of the calling function and the value
of |
filename |
A representative file name to outputs. By default, the
name(s) will be determined automatically. For text files, a typical file
extension is |
center_features |
Logical; if TRUE, adjusts log2FC to center zero by
features (proteins or peptides). The default is TRUE. Note the difference to
data alignment with |
scale_features |
Logical; if TRUE, adjusts log2FC to the same scale of
variance by features (protein or peptide entries). The default is TRUE. Note
the difference to data scaling with |
theme |
A ggplot2 theme, i.e., theme_bw(), or a custom theme. At the NULL default, a system theme will be applied. |
anal_type |
Character string; the type of analysis that are preset for
method dispatch in function factories. The value will be determined
automatically. Exemplary values include |
... |
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.