addTSNE | R Documentation |
This function will compute a TSNE embedding and add it to an ArchRProject.
addTSNE( ArchRProj = NULL, reducedDims = "IterativeLSI", method = "RTSNE", name = "TSNE", perplexity = 50, maxIterations = 1000, learningRate = 200, dimsToUse = NULL, scaleDims = NULL, corCutOff = 0.75, saveModel = FALSE, verbose = TRUE, seed = 1, force = FALSE, threads = max(floor(getArchRThreads()/2), 1), ... )
ArchRProj |
An |
reducedDims |
The name of the |
method |
The method for computing a TSNE embedding to add to the |
name |
The name for the TSNE embedding to store in the given |
perplexity |
An integer describing the number of nearest neighbors to compute an |
maxIterations |
An integer describing the maximum number of iterations when computing a TSNE. This argument is passed to |
learningRate |
An integer controlling how much the weights are adjusted at each iteration. This argument is passed to |
dimsToUse |
A vector containing the dimensions from the |
scaleDims |
A boolean value that indicates whether to z-score the reduced dimensions for each cell. This is useful for minimizing
the contribution of strong biases (dominating early PCs) and lowly abundant populations. However, this may lead to stronger sample-specific
biases since it is over-weighting latent PCs. If set to |
corCutOff |
A numeric cutoff for the correlation of each dimension to the sequencing depth. If the dimension has a correlation to sequencing
depth that is greater than the |
verbose |
A boolean value that indicates whether printing TSNE output. |
seed |
A number to be used as the seed for random number generation. It is recommended to keep track of the seed used so that you can reproduce results downstream. |
force |
A boolean value that indicates whether to overwrite the relevant data in the |
threads |
The number of threads to be used for parallel computing. |
... |
Additional parameters for computing the TSNE embedding to pass to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.