emmanuelparadis / psmcr

R Port of psmc
Other
12 stars 4 forks source link

Plotting psmc with previously generated files? #6

Closed cmtom closed 2 years ago

cmtom commented 3 years ago

Hello,

Thank you for developing an R implementation of PSMC! I wish I came across it before I already ran psmc.

I have the same unanswered question as issue #4. I already have run psmc and have .psmc files for hundreds of samples. I was wondering if it is possible to use just the R plotting script in your program, with already generated psmc files, and if so, how could I import the data as a compatible object? Any input would be much appreciated!

Thank you, Crystal

emmanuelparadis commented 3 years ago

Hi. Thank you for your apprecation! Can you send one of the .psmc files? I'll see if I can write code to import into R. Cheers

cmtom commented 3 years ago

Hi,

Thank you for your quick response, that would be great! I attached an example.

example.psmc.txt

Thanks, Crystal

emmanuelparadis commented 3 years ago

I added the function import.psmc in the package which is now version 0.1-4. You need to reinstall because it needed to rearrange the code in other functions. Please try it and don't hesitate to give feed-back.