-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
snpgdsLDpruning gives an empty snp dataset #102
Comments
Could you please show me the output of The output is something like:
|
Dear Dr. Zheng, |
When I type But I did not get any error message when running snpgdsLDpruning() with the code I reported below. However, it was incredibly quick (not sure if it is normal as it is the first time that I run this function). I tried running the function with "verbose = TRUE", and this is the message I obtained: <SNP pruning based on LD: I am not sure if that is helpful at all! Hopefully it can help you understand where my problem is? |
Sorry, I don't know how to fix the problem based on your description. Best wishes, |
Hi,
I tried to use snpgdsLDpruning() for the first time, but I get a pruned snp dataset with no SNPs.
This is the code I used:
<pruned_snpset = snpgdsLDpruning(my_GDS_File,
autosome.only=FALSE, method="corr",
slide.max.bp=10e6, ld.threshold=sqrt(0.1), verbose=FALSE)
View(pruned_snpset) # list of length 0
pruned_snpset # NULL>
My dataset comes for RADseq and contains SNPs data but no chromosome or SNP position information as we have no genome for this species. Is that why it gives no pruned SNPs?
Thanks a lot for your feedback and assistance,
best,
Gabriella
The text was updated successfully, but these errors were encountered: