Re: [R-sig-phylo] Simulate discrete characters on tree constrained to phylogenetic signal K

2011-01-28 Thread Emmanuel Paradis
On Fri, 28 Jan 2011 17:20:57 -0600 Scott Chamberlain wrote: Dear R community, I would like to simulate discrete characters on a randomly generated tree. However, I would like to create different sets of trees and associated characters at certain levels of phylogenetic signal. If you know t

Re: [R-sig-phylo] Simulate discrete characters on tree constrained to phylogenetic signal K

2011-01-28 Thread Klaus Schliep
Hi Scott, you may try the function simSeq in the phangorn package. You can define a root sequence to start with: dat = simSeq(tree, l=10, rootseq=rep(1, 10), type="USER", model="", levels=c(0,1), rate=1, ancestral=TRUE) as.character(dat) Cheers, Klaus On 1/29/11, Scott Chamberlain wrote: > De

Re: [R-sig-phylo] Model-Selection vs. Finding Models that "Fit Well"

2011-01-28 Thread Florian Boucher
Hi David and list, just a quick comment on one of your questions : for quantitative traits on a phylogeny you can compare your "best" model to the "white noise" model implemented in geiger, which assumes that your traits are drawn from a normal distribution. This last model would be the "baseline

[R-sig-phylo] Simulate discrete characters on tree constrained to phylogenetic signal K

2011-01-28 Thread Scott Chamberlain
Dear R community, I would like to simulate discrete characters on a randomly generated tree. However, I would like to create different sets of trees and associated characters at certain levels of phylogenetic signal. Can someone point me in the right direction? I am familiar with sim.c

Re: [R-sig-phylo] Model-Selection vs. Finding Models that "Fit Well"

2011-01-28 Thread David Bapst
Hello all, Apologies for leaving the replies to get cold for a week, but now I finally have some time to respond. On Thu, Jan 20, 2011 at 12:17 PM, Brian O'Meara wrote: > I think considering model adequacy is something that would be useful to do > and is not done much now. One general way to do