-
Notifications
You must be signed in to change notification settings - Fork 4
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
plot_SnpsInRuns and plot_manhattanRuns plotting all SNPs as 100% #25
Comments
Hi @victorialindsay, thank you for your interest in runs <- readExternalRuns(inputFile = <plink .hom path>, program = "plink") if yes, could you post an head of your |
Hi @bunop Thanks for your help. Yes, imported it exactly as that. Head is here:
I've attached part of the .hom file here as an example, but with FID, IID and phenotype blanked out. Github has made me convert this to a TXT as it wouldn't recognise the extension - but the original was a whitespace delimited file in case it has changed. |
Hi @victorialindsay , Your files seems ok to me at first sight, however I can't reproduce your errors without your input files. I don't know if you can share them with us (or if they are small enough for GitHub), the best I can do for the moment is try to guess where the problem is. The function
Hope this helps |
Hi @bunop Thanks for checking them out. I can't share the entire files at the moment unfortunately.
Thanks for your help, I will let you know the results of 6/7. |
It must be something to do with the PLINK .hom output as when I calculate the ROHs with detectRUNS I can produce these plots just fine. Thank you for your help! |
Hi @victorialindsay , I had the same problem when I used PLINK .hom output. genotypeFilePath <-"C:/Users/musta/Desktop/ROH/DetectRuns/Data.ped" Can you show me how the detectRUNS package program defines .ped and .map files? |
Hi @Integratedhaplotypescore , could you be more specific? which type of error you got? could you ensure that your |
Dear @bunop I made a mistake in the .ped and .map file path. I apologize for taking up your time and keeping this place busy. Now when I use the slidingRUNS.run command, I get the following error. Error in slidingRUNS.run(genotypeFile = "Data.ped", mapFile = "Data.map", : You mentioned in your previous articles that the solution to this error is to convert tabs to spaces. I will try what you said. I unintentionally kept this place busy as I am new to using R. Thank you very much for helping. |
I've used the PLINK-generated .hom file as the runs file, and have the .ped and .map files used to produce the .hom file also in the commands. However, for both plot_SnpsInRuns and plot_manhattanRuns I get every SNP as 100%, and the error relates to missing data, but not sure how to correct this!
Plot produced is attached. I'm assuming the same thing is causing my issue with the Manhattan plots.
SNPinRunsAllChr.pdf
The text was updated successfully, but these errors were encountered: