This function changes the discrete copy number values for a given gene in order to force a minimum number of observations per state.
Vector of called values
Minimum number of observations per state
Logical. Whether discrete states with few observations should be discarded from analysis.
Consider that the number of observations of a given state is lower than
discard = FALSE, observations are not discarded and a rearrangement of called values is carried out as follows.
The "normal" copy number state is taken as a reference. If the minimum number of observations is not obtained,
"losses" will be merged to "normals", "gains" to "normals" and "amplifications" to "gains".
Note that this modifies the configuration of the model. Thus, after fitting a model using
original and modified data are stored in the resulting
plrs-class object, respectively under
discard = TRUE, states for which the number of observations is lower than
are discarded (replaced by NAs).
Vector of new called values
This function is implemented within function
Gwenael G.R. Leday firstname.lastname@example.org
1 2 3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.