clusterReorg: Reorganize Cluster

View source: R/clusterReorg.R

clusterReorgR Documentation

Reorganize Cluster

Description

This function executes a ubuntu docker that merge two clusters

Usage

clusterReorg(
  group = c("sudo", "docker"),
  scratch.folder,
  file,
  nCluster,
  A,
  B,
  separator,
  sp = 0.8
)

Arguments

group,

a character string. Two options: sudo or docker, depending to which group the user belongs

scratch.folder,

a character string indicating the path of the scratch folder

file,

a character string indicating the path of the file, with file name and extension included

nCluster,

number of Cluster used in Kmeans to generate the clusters that you want to merge

A,

first Cluster that has to be merged

B,

second Cluster that has to be merged

separator,

separator used in count file, e.g. '\t', ','

sp,

minimun number of percentage of cells that has to be in common between two permutation to be the same cluster.

Value

will change all the files generated from permAnalysis algorithm in a new folder matrixName_Cluster_merged/

Author(s)

Luca Alessandri , alessandri [dot] luca1991 [at] gmail [dot] com, University of Torino

Examples

## Not run: 
clusterReorg("docker","/home/lucastormreig/CASC2.0/2.1_clusterReorg/scratch/","/home/lucastormreig/CASC2.0/2.1_clusterReorg/Data/TOTAL.csv",3,1,3,",")#

## End(Not run)

kendomaniac/CASC documentation built on Oct. 4, 2023, 11:10 a.m.