delete.hypothesis {TRONCO} | R Documentation

## delete.hypothesis

### Description

Delete an hypothesis from the dataset based on a selected event. Check if the selected event exist in the dataset and delete his associated hypothesis

### Usage

    delete.hypothesis(x, event = NA, cause = NA, effect = NA)

### Arguments

`x` | A TRONCO compliant dataset.
`event` | Can be an event or pattern name
`cause` | Can be an event or pattern name
`effect` | Can be an event or pattern name

### Value

A TRONCO complian dataset.

### Examples

    data(test_dataset)
    delete.hypothesis(test_dataset, event='TET2')
    delete.hypothesis(test_dataset, cause='EZH2')
    delete.hypothesis(test_dataset, event='XOR_EZH2')

[Package TRONCO version 2.24.0 Index]