赖老师,您好:
您的“用R直接从全球生物多样性信息网络(GBIF)获取物种地理分布数据”我用过后,发现里面的数据只是Occurrence cells used for creating environmental envelope的数据,有没有能使用Map data (HSPEC) for predicted occurrences这个数据的?因为我想看这个物种在中国海域哪些海域有分布。
期待您的回复。
Phylogenetic tree with 3 tips and 2 internal nodes.
Tip labels:
HFC, HMC, LFC
Rooted; includes branch lengths.
> ac1 <- anc.clim(target = tr, pno = clim, n = 100)
Error in data.frame(x) : row names contain missing values
此外: Warning messages:
1: In FUN(newX[, i], ...) :
the names of 'x' and the tip labels of the tree do not match: the former were ignored in the analysis.
2: In Initialize.corPhyl(corStruct, data.frame(x)) :
No covariate specified, species will be taken as ordered in the data frame. To avoid this message, specify a covariate containing the species names with the 'form' argument.
####软件包的test数据
> tree
Phylogenetic tree with 5 tips and 4 internal nodes.
Tip labels:
adenophylla, arenaria, laciniata, enneaphylla, loricata
Rooted; includes branch lengths.
> clim1 <- PNO$PrecipitationWarmestQuarter
> head(clim1)
variable adenophylla arenaria enneaphylla laciniata loricata
1 0.00000 0.02225193 0.39616046 0.0004981347 0.005570378 0.002770169
2 38.44898 0.56936564 0.28548473 0.0483867934 0.090354572 0.327931308
3 76.89796 0.20232050 0.19529811 0.0630264096 0.363138573 0.142187408
4 115.34694 0.10365486 0.08120637 0.0266872031 0.167960728 0.088057939
5 153.79592 0.06196568 0.02861484 0.0256178105 0.148677108 0.075511689
6 192.24490 0.02866730 0.01053544 0.0328056103 0.057139103 0.063873678
> ac <- anc.clim(target = tree, pno = clim1, n = 100)
There were 50 or more warnings (use warnings() to see the first 50)