Column
public struct Column : CustomDebugStringConvertible
The LineageAlignment.Column struct holds an array of cells that share the same position
in the alignment’s rank hierarchy.
-
The column’s rank (may be nil). All cells in the column share the same rank.
Declaration
Swift
public private(set) var rank: TaxonomicRank? -
The array of cells managed by this column.
Declaration
Swift
public fileprivate(set) var cells: [LineageAlignment.Cell] -
Calculates and returns the sum of the managed cells’ span values.
Declaration
Swift
public var span: Int { get } -
Returns the number of cells in this column.
Declaration
Swift
public var count: Int { get } -
Determines if this column contains any node from a given node’s lineage, including that node itself.
Declaration
Swift
public func participatesInLineageOf(_ endPoint: LineageTree.Node) -> BoolParameters
endPointThe node whose lineage will be tested.
Return Value
trueif this column participates in the supplied node’s lineage orfalseinstead. -
Declaration
Swift
public var debugDescription: String { get }
View on GitHub
Install in Dash
Column Structure Reference