GeneFuModel {PDATK} | R Documentation

## `GeneFuModel` Constructor Method

### Description

`GeneFuModel` Constructor Method

### Usage

    GeneFuModel(
      trainCohorts = SurvivalExperiment(),
      minDaysSurvived = 365,
      ...,
      randomSeed
    )

### Arguments

`trainCohorts` | A `CohortList` or `SurvivalExperiment` containing training data for the genefu model. If you don't have training data, but have a trained model this will default to an empty `SurvivalExperiment`. You can then assign the model using the `models` setter method.
`minDaysSurvived` | An `integer` specifying the minimum days survived to be considered in the 'good' survival prognosis group.
`...` | Fall through paramater to `SurvivalModel` constructor.
`randomSeed` | An `integer` randomSeed that was used to train the model. Users should specify this when initializing a model to ensure reproducibilty.

### Value

A `GeneFuModel` object, with model parameters in the

### Examples

    set.seed(1987)
    geneFuModel <- GeneFuModel(randomSeed=1987)

[Package PDATK version 1.2.0 Index]