clusterReorg.Rd
This function executes a ubuntu docker that merge two clusters
clusterReorg(
group = c("sudo", "docker"),
scratch.folder,
file,
nCluster,
A,
B,
separator,
sp = 0.8
)
a character string. Two options: sudo or docker, depending to which group the user belongs
a character string indicating the path of the scratch folder
a character string indicating the path of the file, with file name and extension included
number of Cluster used in Kmeans to generate the clusters that you want to merge
first Cluster that has to be merged
second Cluster that has to be merged
separator used in count file, e.g. '\t', ','
minimun number of percentage of cells that has to be in common between two permutation to be the same cluster.
will change all the files generated from permAnalysis algorithm in a new folder matrixName_Cluster_merged/
if (FALSE) {
clusterReorg("docker","/home/lucastormreig/CASC2.0/2.1_clusterReorg/scratch/","/home/lucastormreig/CASC2.0/2.1_clusterReorg/Data/TOTAL.csv",3,1,3,",")#
}