Struct light_phylogeny::Noeud[][src]

pub struct Noeud<T> where
    T: PartialEq
{
Show fields pub idx: usize, pub name: String, pub support: String, pub parent: Option<usize>, pub children: Vec<usize>, pub x: f32, pub xmod: f32, pub y: f32, pub ymod: f32, pub l: f32, pub e: Event, pub location: String, pub width: f32, pub height: f32, pub nbg: usize, pub nodes: Vec<(usize, usize)>, pub is_a_transfert: bool, pub go_left: usize, pub go_right: usize, pub fixed: bool, pub transfers: Vec<usize>, pub visible: bool, // some fields omitted
}
Expand description

Structure Noeud.

Fields

idx: usize

index in the Arena structure

name: String

name of the node

support: String

support of the node

parent: Option<usize>

parent if the node

children: Vec<usize>

children of the node

x: f32

x coordinate

xmod: f32

x shift

y: f32

y coordinate

ymod: f32

y shift

l: f32

real branch length

e: Event

event (duplication, speciation, loss, transfer …)

location: String

location of the gene tree node in the species tree (recPhyloXML)

width: f32

pipe width (recPhyloXML)

height: f32

pipe height (recPhyloXML)

nbg: usize

number of gene nodes associated to the species node (recPhyloXML)

nodes: Vec<(usize, usize)>

number of gene nodes associated to the species node (recPhyloXML)

is_a_transfert: bool

the node come from a transfer (it is a transferBack and its parent is a BranchingOut)

go_left: usize

optimisation: number of left-side orientation minimising transfer crossings (recPhyloXML)

go_right: usize

optimisation: number of right-side orientation minimising transfer crossings (recPhyloXML)

fixed: bool

optimisation: node is fixed, left/side orientation of children can not be modified (recPhyloXML)

transfers: Vec<usize>

optimisation: indexes of transfers associated to the node (recPhyloXML)

visible: bool

will be displayed

Implementations

Set node event

Set node x

Set node xmod

Set node ymod

Set node y

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.