Description Usage Arguments Value Author(s)

For a dataset specified with matrix and class labels, draws permutations and subsets.

1 | ```
preparePermutations(ids, paired, B, sample.ratio = 0.8)
``` |

`ids` |
class labels |

`paired` |
logical, whether samples in classes are paired. |

`B` |
number of permutations and subsets to be drawn. |

`sample.ratio` |
how many of the samples in a class are to be subsampled. |

Returns a list with the following items:

`yperm` |
the matrix of permutations. |

`ysubs` |
the matrix of subsamplings. |

Claudio Lottaz

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.