绘图主题对象,集中管理所有可视化参数。 通过修改此对象可实现连接线样式切换、配色方案切换等。
SyntenyTheme
01 Syntax
SMRUCC.genomics.Visualize.SyntenyVisualize.PanGenomeSynteny.SyntenyTheme
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| CreateDefault | 1 | 默认主题:贝塞尔曲线 + Nature 配色 |
| CreateStraightLineTheme | 1 | 直线主题 |
| CreateBezierTheme | 1 | 贝塞尔曲线主题 |
| CreatePublicationTheme | 1 | 论文发表主题:高分辨率 + 柔和配色 |
03 Properties
| Name | Overloads | Summary |
|---|---|---|
| Palette | 1 | 调色板对象 |
| ConnectionStyle | 1 | 连接线样式(直线 / 贝塞尔曲线) |
| ImageWidth | 1 | 图像宽度(像素) |
| ImageHeight | 1 | 图像高度(像素) |
| Dpi | 1 | 输出 DPI(论文插图建议 300 及以上) |
| TrackHeight | 1 | 每个基因组轨道的垂直高度 |
| ChromosomeHeight | 1 | 染色体条带高度 |
| GeneHeight | 1 | 基因块高度 |
| ChromosomeGap | 1 | 同一基因组内染色体之间的水平间距 |
| ConnectionAlpha | 1 | 连接线透明度(0-255,建议 60-140) |
| ConnectionWidth | 1 | 连接线宽度 |
| MarginTop | 1 | |
| MarginBottom | 1 | |
| MarginLeft | 1 | |
| MarginRight | 1 | |
| ShowGeneLabels | 1 | |
| ShowChromosomeLabels | 1 | |
| ShowGenomeLabels | 1 | |
| ShowLegend | 1 | |
| ShowScaleBar | 1 | |
| ShowGrid | 1 | |
| UseAntiAlias | 1 | |
| Title | 1 | |
| Subtitle | 1 | |
| FontFamily | 1 |
04 Members
CreateDefault
默认主题:贝塞尔曲线 + Nature 配色
CreateStraightLineTheme
直线主题
CreateBezierTheme
贝塞尔曲线主题
CreatePublicationTheme
论文发表主题:高分辨率 + 柔和配色
Palette
调色板对象
ConnectionStyle
连接线样式(直线 / 贝塞尔曲线)
ImageWidth
图像宽度(像素)
ImageHeight
图像高度(像素)
Dpi
输出 DPI(论文插图建议 300 及以上)
TrackHeight
每个基因组轨道的垂直高度
ChromosomeHeight
染色体条带高度
GeneHeight
基因块高度
ChromosomeGap
同一基因组内染色体之间的水平间距
ConnectionAlpha
连接线透明度(0-255,建议 60-140)
ConnectionWidth
连接线宽度
MarginTop
MarginBottom
MarginLeft
MarginRight
ShowGeneLabels
ShowChromosomeLabels
ShowGenomeLabels
ShowLegend
ShowScaleBar
ShowGrid
UseAntiAlias
Title
Subtitle
FontFamily