Re: [R-sig-phylo] ape package in R

2020-09-19 Thread Emmanuel Paradis
Hi, Actually, Ranjita can use the number of gene copies if it is reasonable to assume that these numbers evolve among samples, maybe a stepwise model with transitions: n -> n + 1 n -> n - 1 In that case, a simple approach is to calculate the Euclidean distances among samples and do an NJ or

Re: [R-sig-phylo] ape package in R

2020-09-19 Thread Salvador Espada Hinojosa
If you want to use ape for making a phylogenetic tree, I think you need the actual sequences of the genes, and not only the copy numbers El sáb., 19 sept. 2020 a las 21:40, Ranjita Thapa () escribió: > Hi, > > I want to construct a phylogenetic tree with ape package. I have a csv > file with

[R-sig-phylo] ape package in R

2020-09-19 Thread Ranjita Thapa
Hi, I want to construct a phylogenetic tree with ape package. I have a csv file with gene ids and copy number for each gene across different samples. I want to construct phylogenetic tree. I am wondering how could I convert the csv file to input file for ape. Could you please suggest me how