hypothesis.add {TRONCO} | R Documentation

## hypothesis add

### Description

Add a new hypothesis by creating a new event and adding it to the compliant genotypes

### Usage

    hypothesis.add(
      data,
      pattern.label,
      lifted.pattern,
      pattern.effect = "*",
      pattern.cause = "*"
    )

### Arguments

`data` | A TRONCO compliant dataset.
`pattern.label` | Label of the new hypothesis.
`lifted.pattern` | Vector to be added to the lifted genotype resolving the pattern related to the new hypothesis
`pattern.effect` | Possibile effects for the pattern.
`pattern.cause` | Possibile causes for the pattern.

### Value

A TRONCO compliant object with the added hypothesis

[Package TRONCO version 2.20.1 Index]