permutationClustering.Rd
This function executes a ubuntu docker that produces a specific number of permutation to evaluate clustering.
permutationClustering(
group = c("sudo", "docker"),
scratch.folder,
file,
nPerm,
permAtTime,
percent,
range1 = 3,
range2 = 3,
separator,
logTen = 0,
clustering,
perplexity = 10,
seed = 1111,
rK = 0
)
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 permutations to perform the pValue to evaluate clustering
number of permutations that can be computes in parallel
percentage of randomly selected cells removed in each permutation
first number of cluster for k means algorithm
last number of cluster for k means algorithm
separator used in count file, e.g. '\t', ','
1 if the count matrix is already in log10, 0 otherwise
clustering method to use : "SIMLR" , "tSne", "griph"
Number of close neighbors for each point. This parameter is specific for tSne. Default value is 10.Setting this parameter when use a clustering method different by tSne will be ignored.
important value to reproduce the same results with same input
1 for rankGene algorithm 0 otherwise WARNING, very slow with this feature. This parameter is specific for SIMLR. Setting this parameter to 1 with other clustering methods will not give any different result to set the parameter to 0.
VioPlot of silhouette cells value for each number of cluster used,clusterP file with clustering results for each permutation, killedCell file with removed cells in each permutation, clustering.output a sommarize file with general information for each cells.
if (FALSE) {
permutationClustering("docker","/home/lucastormreig/CASC2.0/permutationClustering/scratch/","/home/lucastormreig/CASC2.0/permutationClustering/Data/TOTAL.csv",4,2,10,3,4,separator=",",logTen=0,clustering="SIMLR",perplexity=0)
}