bootstrap {perturbatr} | R Documentation

## Create a bootstrap sample from a data-set

### Description

Create a bootstrap sample from a data-set

### Usage

    bootstrap(obj, ...)

### Arguments

`obj` | the object which data should be bootstrapped
`...` | groups on which you be bootstrapped. If you want to create a normal boostrap sample, you would ignore this argument. If you want to separate your data into groups and bootstrap from every group, you would give the unquoted name of the columns in your `obj` to group on. For instance, if you provide 'gene' as an argument, then your data set would be grouped into separate 'gene' groups and bootstrapping would be conducted on every of those groups. Afterwards genes are aggregated

### Value

returns an object with boostrapped data

### Examples

      data(rnaiscreen)
      bootstrap(rnaiscreen)
      bootstrap(rnaiscreen, Condition, Perturbation)

[Package perturbatr version 1.10.0 Index]