Sample the table of scores or clusters of it according to different methods of selection

1 2 |

`x` |
data.frame, a table of scores |

`partition` |
vector containing the partition of table If Each element of the partition vector must be a cluster ID and length(partition) must be equal to nrow(x). |

`methods` |
method or vector of methods to be used for the sampling. Methods available: `"downsampling"` `"lowsampling"` `"upsampling"` `"centroids"` `"medoids"`
See Details to have the description of the methods |

`target_ratio` |
percentage of gene pairs to be retained in argument |

`target_nb` |
number of gene pairs to be retained in |

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.