{"id":"kclust","name":"K-Means Clustering","dataTypes":{"subset1":["CLINICAL.TXT"]},"dataFileInputMapping":{"CLINICAL.TXT":"TRUE","MRNA_DETAILED.TXT":"mrnaData","SNP.TXT":"snpData"},"pivotData":false,"variableMapping":{"||GENES||":"divIndependentVariablePathway","||SAMPLE1||":"divIndependentVariablesamples","||TIMEPOINTS1||":"divIndependentVariabletimepoints","||IMAGE_HEIGHT||":"txtImageHeight","||AGGREGATE||":"divIndependentVariableprobesAggregation","||CLUSTERS||":"txtClusters","||TISSUES1||":"divIndependentVariabletissues","||IMAGE_WIDTH||":"txtImageWidth","||GPL2||":"divIndependentVariablegplsValue2","||SAMPLE2||":"divIndependentVariablesamples2","||TYPEIND||":"divIndependentVariableType","||TISSUES2||":"divIndependentVariabletissues2","||SNPTYPE||":"divIndependentVariableSNPType","||INDEPENDENT||":"independentVariable","||TIMEPOINTS2||":"divIndependentVariabletimepoints2","||GPL1||":"divIndependentVariablegplsValue","||TEXT_POINT_SIZE||":"txtImagePointsize","||MAXDRAWNUMBER||":"txtMaxDrawNumber"},"converter":{"R":["source('||PLUGINSCRIPTDIRECTORY||Common/dataBuilders.R')","source('||PLUGINSCRIPTDIRECTORY||Common/ExtractConcepts.R')","source('||PLUGINSCRIPTDIRECTORY||Common/collapsingData.R')","source('||PLUGINSCRIPTDIRECTORY||Common/parseDirectory.R')","source('||PLUGINSCRIPTDIRECTORY||Heatmap/BuildHeatmapData.R')","parseDirectory(topLevelDirectory = '||TOPLEVELDIRECTORY||')","HeatmapData.build(\n        input.gexFile    = '||TOPLEVELDIRECTORY||/workingDirectory/mRNA.trans',\n        genes            = '||GENES||',\n        genes.aggregate  = '||AGGREGATE||',\n        sample.subset1   = '||SAMPLE1||',\n        time.subset1     = '||TIMEPOINTS1||',\n        tissues.subset1  = '||TISSUES1||',\n        platform.subset1 = '||GPL1||',\n        sample.subset2   = '||SAMPLE2||',\n        time.subset2     = '||TIMEPOINTS2||',\n        tissues.subset2  = '||TISSUES2||',\n        platform.subset2 = '||GPL2||')"]},"processor":{"R":["source('||PLUGINSCRIPTDIRECTORY||Heatmap/KMeansHeatmap.R')","KMeansHeatmap.loader(\n        input.filename  = 'outputfile',\n        clusters.number = '||CLUSTERS||',\n        imageWidth      = '||IMAGE_WIDTH||',\n        imageHeight     = '||IMAGE_HEIGHT||',\n        pointsize       = as.integer('||TEXT_POINT_SIZE||'),\n        maxDrawNumber   = as.integer('||MAXDRAWNUMBER||'))"]},"renderer":{"GSP":"/RKMeans/heatmapOut"},"view":"KClust"}