fdist-methods {msbase} | R Documentation |
Computes euclidean or manhattan distance for two aligned vectors.
obx |
see above |
oby |
see above |
error |
measurement error |
ppm |
if TRUE then error in parts per million, in
arbitrary units otherwise |
full |
if TRUE then compute for matching and not matching peaks |
weight |
if TRUE weight differences between matching peaks. |
uniq |
if TRUE compute optimal aligmnent |
method |
type of dissimilarity: c("euclidean","manhattan") |
norm |
how to scale the itensities c("student","zscore","tic","no") |
theta |
"numeric" how to weight the non-matching peaks. |
range |
experimental |
Witold E. Wolski witek96@users.sourceforge.net http://r4proteomics.sourceforge.net
data(pldata) fdist(pldata[[1]],pldata[[2]],error=400,ppm=TRUE,theta=1,weight=FALSE,scale="zscore",method="euclidean") fdist(pldata[[1]],pldata[[2]],error=400,ppm=TRUE,theta=1,weight=FALSE,scale="no",method="manhattan") tmp <- fdist(pldata,NULL,error=400,ppm=TRUE,theta=1,weight=FALSE,scale="student",method="euclidean") plot(hclust(tmp,method="average"))