Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: no duplicates allowed in deviationsTsne #120

Open
o-doyle opened this issue Dec 1, 2024 · 0 comments
Open

error: no duplicates allowed in deviationsTsne #120

o-doyle opened this issue Dec 1, 2024 · 0 comments

Comments

@o-doyle
Copy link

o-doyle commented Dec 1, 2024

Hello,
I am trying to generate a Tsne plot to look at the distribution of different TFs between clusters as in the chromVAR vignette. However, whenever I run deviationsTsne, I get this warning

tsne_results <- deviationsTsne(dev, threshold = 1.5, perplexity = 10,
shiny = FALSE)
Error in Rtsne.default(t(mat[ix2, , drop = FALSE]), perplexity = perplexity, :
Remove duplicates before running TSNE.

I tried looking at the matrix manually and removing motifs with duplicate expression and then rerunning from matchMotifs(), however, am still getting the same error even though I can no longer identify duplicates in my assays(dev)$deviations object. I am also able to make a Tsne manually using Rtsne(), but would love to play with the shiny output that is incorporated in your vignette. Any ideas on how to go about addressing this? Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant