Closed st4302 closed 1 year ago
Hello - We recommend the use of umaps or force directed layouts over tSNE computed on diffusion components. Is there a reason, why you would need to compute tSNE. The n_pcs
parameter should be bumped up for tsne
to work.
Hello,
I am trying to use palantir using scanpy and then the plotting commands from your notebook.
I tried to run
sc.tl.tsne(adata, n_pcs=2, use_rep='X_palantir_multiscale', perplexity=150)
but I am getting the following error:ValueError: X_palantir_multiscale does not have enough Dimensions. Provide a Representation with equal or more dimensions than
n_pcsor lower
n_pcsI had run palantir previously that way with other samples but I have not encountered this before. Is it a problem with my data?
I run palantir like shown here:
And I plotted it also like shown below with umap:
Plotting with UMAP is not giving me any issues.
Thank you