Hello Krystna,
The dadi plotting functions take in a spectrum object, not a reference to
a saved file.
So you can do:
dd = Misc.make_data_dict('dadi_S00001-S00003_withoutmRNA.input')
fs = Spectrum.from_data_dict(dd, pop_ids=['COLL', 'PIED'],
projections=[10,10],polarized=False)
dadi.Plotting.plot_single_2d_sfs(fs, vmin=1, vmax=20000)
If you have a spectrum saved to a file, you can load it back with
fs = dadi.Spectrum.from_file("spectrum_03")
Does this answer your question?
Best,
Ryan
>--
>You received this message because you are subscribed to the Google Groups
>"dadi-user" group.
>To post to this group, send email to
dadi...@googlegroups.com.
>To unsubscribe from this group, send email to
>
dadi-user+...@googlegroups.com.
>For more options, visit this group at
>
http://groups.google.com/group/dadi-user?hl=en.
>
>
>
--
Ryan Gutenkunst
Assistant Professor
Molecular and Cellular Biology
University of Arizona
phone:
(520) 626-0569
http://gutengroup.mcb.arizona.edu