Description Usage Arguments Value Examples
Uses cmdscale to get multidimensional scaling of data matrix, and plot the samples with ggplot2.
1 |
counts |
matrix samples in columns, features in rows |
condition |
vector define groups of samples in counts. It has to be same order than the count matrix for columns. |
k |
integer number of dimensions to get |
d |
type of distance to use, c("euclidian", "cor"). |
xi |
number of component to plot in x-axis |
yi |
number of component to plot in y-axis |
ggplot2 object
1 2 3 4 5 6 | data(humanGender)
library(DESeq2)
idx <- c(1:10, 75:85)
dse <- DESeqDataSetFromMatrix(assays(humanGender)[[1]][1:1000, idx],
colData(humanGender)[idx,], design=~group)
degMDS(counts(dse), condition = colData(dse)[["group"]])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.