月にも浪にも放れない

植物を観察している大学院生のフリースペース

2016-12-09から1日間の記事一覧

phytools : setMap

RのパッケージphytoolsのコマンドsetMapでは、contMapで描いた系統樹の枝の色を変えられる。 ----------------------------------------------- library(phytools) Tree<-pbtree(n=15) x<-c(runif(15)) labels<-c("t1", "t2", "t3", "t4", "t5", "t6", "t7",…

phytools : contMap

Rのパッケージphytoolsのコマンドcontmapでは、系統樹の枝に各種の形質値に合わせた色付けができる。 ----------------------------------------- library(phytools) ###パッケージの設定 Tree<-pbtree(n=15) ###サンプル系統樹の読み込み x<-c(runif(15)) l…