Description Usage Arguments Value TODO
Plot MDS(es) of gene expression using different distance calculation methods and alternative colors.
Depricated: Plot MDS(es) of gene expression using different distance calculation methods and alternative colors.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | plotMDStargets2(
expLog2,
targets,
colorsFrom = "color_",
rename = TRUE,
namesFrom = NULL,
scale = FALSE,
center = FALSE,
FUNS = c("cmdscale", "isoMDS", "sammon"),
p = 2,
selection = "pairwise",
tops = 500,
maxit = 50,
trace = FALSE,
tol = 0.001,
size = 3,
filePath = NULL,
width = 7,
height = 7,
...
)
plotMDStargets2_MASS(
expLog2,
targets,
colorsFrom = "color_",
namesFrom = NULL,
scale = FALSE,
center = FALSE,
methods = c("euclidean", "manhattan"),
FUNS = c("isoMDS", "sammon"),
p = 2,
maxit = 50,
trace = FALSE,
tol = 0.001,
size = 3,
filePath = NULL,
width = 7,
height = 7,
...
)
|
expLog2 |
Expression matrix (preferably in log2 scale) with genes in rows and samples in columns |
targets |
Phenotype data with columns with colors, e.g., color_Sex |
colorsFrom |
String variable prefix(es) from targets, passed to |
rename |
Logical, default TRUE, passed to |
namesFrom |
Variable from targets, passed to |
scale |
Logical scale data, passed to |
center |
Logical center data, passed to |
FUNS |
List of MDS function from pacakge MASS, passed individually to |
p |
Power of the Minkowski distance, passed to |
selection |
Character "pairwise" or "common" for selection of rows or NULL for using all rows; default "pairwise" |
tops |
Integer vector number of rows (genes), passed individually to |
maxit |
Passed to |
trace |
Trace progress, passed to |
tol |
Tolerance, passed to |
size |
Size of ggplot labels, passed to |
filePath |
NULL or character; if given, output a PDF; default NULL |
width |
PDF width |
height |
PDF height |
... |
Passed to ggplot2::geom_text |
methods |
List of methods for distance calulation, passed individually to |
Invisibly a list of ggplot2 objects and PDF if filePath is given
Invisibly a list of ggplot2 objects and PDF if filePath is given
add parameter dim.plot as in limma::plotMDS
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.