Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
getnewickstr does not work on the output of getmatrix
조회 수: 1 (최근 30일)
이전 댓글 표시
I have a tree as following,
tree_newick = '(A:4,(B:3,(C:1.2, D:1.5)F:1)E:2.5)O:0';
[dist_matrix, ID, DIST] = getmatrix(mytree);
getnewickstr(dist_matrix)
Error using seqlinkage (line 65) Size of DIST not compatible with the output of the SEQPDIST function.
I believe "getnewickstr", only function on pair-wise matrices. so the question is, is there any function to produce similarity matrix of a tree_newick_format data ?
Thanks
댓글 수: 0
답변 (2개)
Arthur Goldsipe
2014년 9월 5일
A quick search of the documentation for the term Newick shows that phytreeread will read files containing trees in the Newick format. This means you'll need to make sure the tree string is stored in a file somewhere.
댓글 수: 0
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!