Run_Clustering {GenoTriplo} | R Documentation |
Launch parallel clustering
Description
Launch the clustering phase in parallel from the dataset with SampleName, Contrast and SigStren for each markers.
Usage
Run_Clustering(
data_clustering,
ploidy,
save_n = "",
n_iter = 5,
D_min = 0.28,
n_core = 1,
path_log = ""
)
Arguments
data_clustering |
dataframe result from create dataset phase |
ploidy |
ploidy of offspring |
save_n |
name of the saving file |
n_iter |
number of iterations of clustering |
D_min |
threshold distance between two clusters |
n_core |
number of cores used for parallelization |
path_log |
path for log file when run by the shiny app |
Value
the result of clustering or automatically save a list of objects if a saving name has been provided
Examples
data(GenoTriplo_to_clust)
res = Run_Clustering(data_clustering=GenoTriplo_to_clust,
ploidy=3,n_iter=5,n_core=1)
# or if you want to automatically save the result
# This will automatically create a folder and save the result in it
# Run_Clustering(data_clustering=GenoTriplo_to_clust,
# ploidy=3,n_iter=5,n_core=1,save_n='exemple')
[Package GenoTriplo version 1.0.4 Index]