library('phenoDist')
## load the imageHTS object
load(system.file('kimorph', 'kimorph.rda', package='phenoDist'))
x@localPath <- file.path(tempdir(), 'kimorph')
## load sample phenotypic distance matrix
load(system.file('kimorph', 'svmAccPDM_Pl1.rda', package='phenoDist'))
## replicate ranking
ranking <- repDistRank(x, distMatrix=svmAccPDM_Pl1)
summary(ranking)
## phenotypic distance to negative control
pheno <- distToNeg(x, distMatrix=svmAccPDM_Pl1, neg='rluc')
## separation between negative and positive controls
ctlSeparatn(x, pheno, neg='rluc', pos='ubc', method='robust')
## replicate correlation coefficient
repCorr(x, pheno)
Run the code above in your browser using DataLab