Documentation, examples, tutorials and more

<<

NAME

Smash::Analyses::Resampler - Module for resampling data in a list

DESCRIPTION

Smash::Analyses::Resampler provides functions to resample a list. This is useful in generating bootstrap replicates for many analyses.

FUNCTIONS

downsample_reads

sample_with_replacement

given a reference to a list with N elements, returns reference to a list of N elements after sampling the input with replacement.

sample_without_replacement

given a reference to a list with N elements, returns reference to a list of N elements after shuffling the elements using Fisher Yates shuffling method.

<<