Create taxonomic objects, Return classes Or full text Of a taxonoDim Object, Calculate consensus Of an array Of taxonomic objects.
Taxonomy
01 Syntax
SMRUCC.genomics.Analysis.Metagenome.gast.Taxonomy
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| .ctor | 2 | Makes the property value copy |
| __data | 1 | |
| TaxonomyString | 1 | Return the object as a ";" delimited string |
| consensus | 1 | For an array of tax objects and a majority required, calculate a consensus taxonomy Return the consensus tax Object, As well As stats On the agreement |
03 Properties
04 Members
#ctor(
String)Create a new taxonomy object
Parameters
| Name | Type | Description |
|---|---|---|
line | String | - |
#ctor(Taxonomy)
Makes the property value copy
Parameters
| Name | Type | Description |
|---|---|---|
taxonomy | Taxonomy | - |
__data(
String)Remarks
$newString =~ s/;$//; 这个语法应该是正则表达式替换匹配字符串为空白字符串
Parameters
| Name | Type | Description |
|---|---|---|
line | String | - |
TaxonomyString
Return the object as a ";" delimited string
consensus(Taxonomy(),
Double)For an array of tax objects and a majority required, calculate a consensus taxonomy Return the consensus tax Object, As well As stats On the agreement
Parameters
| Name | Type | Description |
|---|---|---|
majority | Taxonomy() | 这个参数值必须要大于50%才能够正常的工作 |
strain
Return the strain Of an Object
RankValue(
Int32){domain, phylum, [class], order, family, genus, species, strain}
Parameters
| Name | Type | Description |
|---|---|---|
level | Int32 | - |
depth
Return the depth of an object - last rank with valid taxonomy