您好,登錄后才能下訂單哦!
這篇文章將為大家詳細講解有關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 !Legend | text | title of the legend; default = name of the dataset |
!ShowLegends | 0 or 1 | 0 : hide legends; 1 : show legends |
!opacity | float number between 0 to 1 | opacity 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 !showHeatMapColumnLabel | none, or any integer; 0 : hide column labels; >= 1: show column labels; note: using !showHeatMapColumnLabel here is recommended | show heatmap column labels (note: does not work in circular modes) |
!columnLabelStyle | tweak column label styles; see section 'colum label style' for detail | |
!defaultStrokeWidth | any value >= 0 | stroke width that applies to both legends and the chart |
!defaultStrokeColor | any valid color name such as red and yellow and html hex color such as #FF00FF | stroke color that applies to both legends and the chart; see more about stroke colors; also see the section bellow |
heatmap specific | ||
!colorgradient or !colorspectrum | two or more valid colors separated by ','; a color gradient will be generated using the specified colors (see more examples bellow); this modifier is mandatory | valid 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 !colorgradientMarkLabels | one or more valid numbers separated by ',' such as -3,2,5,7,9,10.5; see bellow for more examples | numbers to be plotted in the legend next to the color gradient |
!heatmapColumnLabel or !heatmapColumnLabels or | one or more text strings separated by ',', such as trait 1,trait 2,control; see bellow for more examples | texts 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 !colorGradientHeight | any integer > 1 | pixel height of the color gradient in the legend, default = 100 |
!colorGradientPixelWidth or !colorGradientWidth | any integer > 1 | pixel width of the color gradient in the legend, default = 15 |
!heatmap | see section the !heatmap modifier | optional |
show data values | see section show data value for more details | |
unsupported modifiers | modifiers that are not supported in Heatmap | |
!Groups or !LegendText | ||
!LegendStyle or !Style | ||
!LegendColors or !Colors | ||
!grid | ||
!plotwidth |
關于“Evolview如何繪制進化樹時添加熱圖”這篇文章就分享到這里了,希望以上內容可以對大家有一定的幫助,使各位可以學到更多知識,如果覺得文章不錯,請把它分享出去讓更多的人看到。
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。