温馨提示×

温馨提示×

您好,登录后才能下订单哦!

密码登录×
登录注册×
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》

Evolview如何绘制进化树时添加热图

发布时间:2022-02-23 10:46:13 来源:亿速云 阅读:362 作者:小新 栏目:开发技术

这篇文章将为大家详细讲解有关Evolview如何绘制进化树时添加热图,小编觉得挺实用的,因此分享给大家做个参考,希望大家阅读完这篇文章后可以有所收获。

Evolview绘制进化树时添加热图

Evolview绘制进化树时,可以根据自己的设置添加热图信息。

设置方法:

[1].   新建一个项目,使用新的进化树“(A:0.1,(B:0.2,(C:0.3,D:0.4)100:0.05)100:0.1)90:0.43;”。

[2].   数据集格式如下:

#heatmap
!legendTitle	Example of heatmap      #图例说明
!showLegends	1                       #是否显示图例  0:隐藏,1:显示
#!defaultStrokeColor	pink
#!defaultStrokeWidth	2
!colorgradient	blue, yellow,red        #使用指定的颜色生成颜色渐变
!colorgradientMarkLabel	0,5,10,15,20,25        #图例中颜色梯度
# -- heatmap column labels --
!showHeatMapColumnLabel	1          #是否显示热图列标签
!heatmapColumnLabels	e1,e2,e3,control       #设置热图列标签
# -- heatmap --
!heatmap	margin=2,colwidth=30,roundedcorner=2    #热图显示设置
# -- show data value
!showdataValue	show=1,fontsize=12,fontitalic=0,textalign=start     #数据显示设置
A	-2,3,5,0
B	7,9,10,23
C	13,15,19,8
D	20,22,25,4

修改选项及参数说明:

The following 'modifiers' (Key-Value pairs) are supported for heatmap:

universal modifiers

!Title or !Legendtexttitle of the legend; default = name of the dataset
!ShowLegends0 or 10 : hide legends; 1 : show legends
!opacityfloat number between 0 to 1opacity of the dataset
modifiers shared with Bar Charts and Dot plots
modifiers that apply to both Bar Charts, Dot Plots and Heatmap
!gridlabel or !axis or !showHeatMapColumnLabelnone, or any integer; 0 : hide column labels; >= 1: show column labels; note: using !showHeatMapColumnLabel here is recommendedshow heatmap column labels (note: does not work in circular modes)
!columnLabelStyletweak column label styles; see section 'colum label style' for detail
!defaultStrokeWidthany value >= 0stroke width that applies to both legends and the chart
!defaultStrokeColorany valid color name such as red and yellow and html hex color such as #FF00FFstroke color that applies to both legends and the chart; see more about stroke colors; also see the section bellow
heatmap specific

!colorgradient or !colorspectrumtwo or more valid colors separated by ','; a color gradient will be generated using the specified colors (see more examples bellow); this modifier is mandatoryvalid colors include html color names (such as red, yellow, lightblue; see here for a complete list of supported html color names) as well as html hex colors such as #FF00FF
!colorgradientMarkLabel or !colorgradientMarkLabelsone or more valid numbers separated by ',' such as -3,2,5,7,9,10.5; see bellow for more examplesnumbers to be plotted in the legend next to the color gradient
!heatmapColumnLabel or !heatmapColumnLabels orone or more text strings separated by ',', such as trait 1,trait 2,control; see bellow for more examplestexts to be plotted on the top of the heatmap, each text string corresponds to a column of the heatmap; NOTE not implemented yet in circular mode
!colorGradientPixelHeight or !colorGradientHeightany integer > 1pixel height of the color gradient in the legend, default = 100
!colorGradientPixelWidth or !colorGradientWidthany integer > 1pixel width of the color gradient in the legend, default = 15
!heatmapsee section the !heatmap modifieroptional
show data valuessee section show data value for more details
unsupported modifiersmodifiers that are not supported in Heatmap
!Groups or !LegendText

!LegendStyle or !Style

!LegendColors or !Colors

!grid

!plotwidth

关于“Evolview如何绘制进化树时添加热图”这篇文章就分享到这里了,希望以上内容可以对大家有一定的帮助,使各位可以学到更多知识,如果觉得文章不错,请把它分享出去让更多的人看到。

向AI问一下细节

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

AI