Phenotype
Note
The Phenotype class is a nested object within the Cell and CellDefinition classes.
The Phenotype class is used to work with various cell properties.
To import this class use:
import ru.biosoft.physicell.core.Phenotype
In this class, there are 12 separate classes, each of which is used to work with a specific set of cell properties.
Class |
Description |
|---|---|
Cycle cycle |
|
death death |
|
volume volume |
Used to describe the volumetric properties of a cell.
All members of this class are presented in Table 1.3.
|
Geometry geometry |
|
Mechanics mechanics |
Used to describe the mechanical properties of a cell.
All members of this class are presented in Table 1.5.
|
Motility motility |
|
Secretion secretion |
Used to describe the secretion and consumption of substances by a cell.
All members of this class are presented in Table 1.7.
|
Molecular molecular |
Used to describe the content of substances inside a cell.
All members of this class are presented in Table 1.8.
|
CellInteractions cellInteractions |
Used to describe interactions between different types of cells.
|
CellTransformations cellTransformations |
Used to describe the transformation of a cell from one type to another.
All members of this class are presented in Table 1.10.
|
Intracellular intracellular |
Used to describe intracellular processes of a cell using ordinary differential equations or a flow model.
All members of this class are presented in Table 1.11.
|
CellIntegrity cellIntegrity |
Used to describe the integrity of a cell.
|
Class member |
Description |
|---|---|
int code |
|
Phase currentPhase() |
|
int currentPhase().code |
Contains the numerical code of the current phase of the life cycle of a given cell.
Example of usage.
|
int currentPhase().index |
Contains the internal current phase of the life cycle of a given cell.
|
boolean currentPhase().divisionAtExit |
Contains true if the cell divides when leaving this phase of the cell cycle.
|
boolean currentPhase().removalAtExit |
Contains true if the cell disappears when leaving this phase of the cell cycle.
|
String currentPhase().name |
|
CycleData data |
Contains an object of the CycleData class that stores numerical data of the life cycle of this particular cell.
Example of usage.
|
double data.elapsedTimePhase |
|
double data.getTransitionRate(int phase1, int phase2) |
phase1 - life cycle phase number.
phase2 - life cycle phase number.
Returns the transition speed between life cycle phases numbered phase1 and phase2.
Example of usage.
|
void data.setTransitionRate(int phase1, int phase2, double speed) |
phase1 - life cycle phase number.
phase2 - life cycle phase number.
speed - speed of transition between life cycle phases.
Sets the transition speed between life cycle phases with numbers phase1 and phase2 equal to speed.
Example of usage.
|
double data.getExitRate(int phase) |
phase - life cycle phase number.
Returns the probability of exiting phase numbered phase*.
*Used if a cell can move from phase to only one other phase.
Example of usage.
|
void data.setExitRate(int phase, double probability) |
phase - life cycle phase number.
probability - probability.
Sets the probability of leaving the phase with phase number equal to probability.
Example of usage.
|
Class member |
Description |
|---|---|
boolean dead |
|
double[] rates |
|
int rates.size() |
|
void rates.set(int index, double probability) |
index - index of the type of cell death.
probability - probability.
Sets the probability of the type of cell death with index index equal to probability.
Example of usage.
|
double rates.get(int index) |
index - index of the type of cell death.
Returns the probability of the type of cell death with index index.
Example of usage.
|
int findDeathModelIndex(String name) |
name - name of the type of cell death.
Returns an index of the cell death type called name.
Example of usage.
|
Class member |
Description |
|---|---|
double total |
Class member |
Description |
|---|---|
double radius |
Class member |
Description |
|---|---|
double attachmentElasticConstant |
|
double cellCellAdhesionStrength |
|
double cellCellRepulsionStrength |
|
double relDetachmentDistance |
Contains the relative distance (radius multiplier) at which a cell separates from an attached cell.
Example of usage.
|
Class member |
Description |
|---|---|
boolean isMotile |
|
double migrationBias |
Contains a number from the interval [0,1], where 0 means that the cell moves completely randomly, and 1 means it moves completely purposefully.
Example of usage.
|
double[] migrationBiasDirection |
Contains a normalized vector describing the direction in which the cell is moving purposefully at a given time.
Example of usage.
|
double migrationSpeed |
|
double persistenceTime |
|
int chemotaxisDirection |
Contains “1” if the cell is moving towards the substrate during chemotaxis, or “-1” if the cell is moving away from it.
Example of usage.
|
Class member |
Description |
|---|---|
double[] secretionRates |
|
double[] uptakeRates |
|
double[] netExportRates |
Contains an array containing constant (independent of cell volume) secretion/consumption rates of all possible substrates for a given cell.
Example of usage.
|
void setSecretionToZero() |
|
void setUptakeToZero() |
Class member |
Description |
|---|---|
double[] internSubstrates |
Contains an array consisting of the quantities of all possible substances inside the cell.
Example of usage.
|
double fractionReleasedDeath |
Contains a fraction of internal substances that are released from the cell at the time of its death.
Example of usage.
|
double fractionTransferredIngested |
Contains the fraction of internal substances that a cell receives that has absorbed a cell of a given type.
Example of usage.
|
Class member |
Description |
|---|---|
double[] transformationRates |
Contains an array of probabilities of transformation of cells of a given type into all other cell types.
Example of usage.
|
Class member |
Description |
|---|---|
void start() |
|
void setParameterValue(String name, double value) |
name - name of the intracellular model parameter.
value - value.
Sets the numerical value value to the name parameter in the intracellular model.
Example of usage.
|
double getParameterValue(String name) |
name - name of the intracellular model parameter.
Returns the value of the name parameter in the intracellular model.
Example of usage.
|