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

RunTSNE error: "Remove duplicates before running TSNE." #167

Closed
dnehar opened this issue Sep 23, 2017 · 2 comments
Closed

RunTSNE error: "Remove duplicates before running TSNE." #167

dnehar opened this issue Sep 23, 2017 · 2 comments

Comments

@dnehar
Copy link

dnehar commented Sep 23, 2017

Hi,
I am using a large data sets (140K). I had this error "Remove duplicates before running TSNE" when running RunTSNE(). This error is due to Rtsne, I know that Rtsne package has a "check_duplicates" argument that can be set to "FALSE".
1- I was wondering if you can suggest a way to solve this "duplicate_checking" issue when using Seurat.
2- Just to be sure that I understood what is a duplicate in this case : It is a cell with the same values after pca reduction ? if it is the case I don't see why it is worth it to remove it.
Thanks a lot for your help.

@andrewwbutler
Copy link
Collaborator

  1. You can pass Rtsne function parameters (e.g. check_duplicates = FALSE) to RunTSNE and they will be passed through. Since tSNE is generally just used for visualization, a small number of duplicates is unlikely to be problematic but I would check to see how many you have. A large number of duplicates might indicate an issue with the upstream analysis.
  2. Yes, if you are calling RunTSNE with the default settings, duplicates will be cells with the same PCA scores for the specified dimensions.

@dnehar
Copy link
Author

dnehar commented Sep 25, 2017

check_duplicates = FALSE worked this time. I tried before posting this message it was not working, may be because I was not loading Rtsne package...
Thank you for your precious help.

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

2 participants