Description Usage Arguments Value Examples
This function computes and plots t-Distributed Stochastic Neighbor
embedding (t-SNE) analysis for unsupervised nonlinear dimensionality reduction
of count expression matrix. Internally, it is applied the Rtsne::Rtsne()
function, using the exact t-SNE computing with theta=0.0
.
1 2 3 4 5 6 7 8 |
countMatrix |
|
targets |
targets |
plotly |
logical: when |
savePlot |
logical: when |
filePlot |
file name where the plot will be saved. For more information, please consult the
|
... |
additional parameters for the |
returns an object of ggplot
or plotly
class.
1 2 3 4 5 6 7 | targetspath <- system.file("extdata", "targets.txt", package="systemPipeR")
targets <- read.delim(targetspath, comment="#")
cmp <- systemPipeR::readComp(file=targetspath, format="matrix", delim="-")
countMatrixPath <- system.file("extdata", "countDFeByg.xls", package="systemPipeR")
countMatrix <- read.delim(countMatrixPath, row.names=1)
set.seed(42) ## Set a seed if you want reproducible results
tSNEplot(countMatrix, targets, perplexity = 5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.