RenderingColor
01 Syntax
SMRUCC.genomics.Visualize.RenderingColor
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| CategoryMapsTextures | 1 | 材质映射 |
| interpolateMapping | 1 | 材质不足,则会使用颜色来绘制 |
| directlyMapping | 1 | 直接映射 |
| InitCOGColors | 1 | 这是一个很通用的颜色谱创建函数 |
| GenerateColorProfiles | 1 |
03 Members
CategoryMapsTextures(
Image(), String())材质映射
Parameters
| Name | Type | Description |
|---|---|---|
categories | Image() | 假若这个参数为空,则默认是使用COG分类的映射规则 |
interpolateMapping(
String(), Image())材质不足,则会使用颜色来绘制
directlyMapping(
String(), Image())直接映射
Parameters
| Name | Type | Description |
|---|---|---|
categories | String() | - |
InitCOGColors(
String(), Int32)这是一个很通用的颜色谱创建函数
Parameters
| Name | Type | Description |
|---|---|---|
categories | String() | 当不为空的时候,会返回一个列表,其中空字符串会被排除掉,故而在返回值之中需要自己添加一个空值的默认颜色 |
GenerateColorProfiles(
IEnumerable(Of String), Boolean)Parameters
| Name | Type | Description |
|---|---|---|
categories | IEnumerable(Of String) | - |
removeUsed | Boolean | 是否移除已经使用过的元素,这样子就会产生不重复的颜色 |