More than 3 dimensions in runTSNE
0
0
Entering edit mode
@a9c5eb20
Last seen 11 months ago
United States

Hello,

How to obtain more than 3 dimensions in runTSNE? The following code will raise an error.

library(scater)
example_sce <- mockSCE()
example_sce <- logNormCounts(example_sce)

example_sce <- runTSNE(example_sce,  ncomponents=5)

sessionInfo( )
dimensions scater runTSNE • 1.3k views
ADD COMMENT
1
Entering edit mode

This is actually an Rtsne specification not scater. I don't think TSNE with >2 dimensions makes sense, given the nature of the embedding. It's a qualitative stochastic representation of the data meant for visualisation. Adding extra dimensions over 2 just makes it difficult to visualise again.

If you really want an embedding with 5 dims, then just use runUMAP. I still think it's a bad idea, but this will at least run.

ADD REPLY
0
Entering edit mode

Thanks for the explanation!

ADD REPLY

Login before adding your answer.

Traffic: 654 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6