Re: [R] PAM Clustering

2017-08-18 Thread Sema Atasever
was > use.So, I interpret that a matrix of dissimilarity is generated > automatically. > > Problems may be in your data. Indeed > > pam(ruspini, 4)$diss > > write a dissimilaty matrix > > while > pam(MYdata,10)$diss > > wite NULL > > > 2017-08-17 16:03

Re: [R] PAM Clustering

2017-08-17 Thread Sema Atasever
: > try this > > MYdata <- read.csv2("data.txt",dec='.') > library(cluster) > cluster.pam = pam(MYdata,10) > table(cluster.pam$clustering) > filenameclu = paste("clusters", ".txt") > write.table(cluster.pam$clustering, file=

[R] PAM Clustering

2017-07-10 Thread Sema Atasever
Dear Authorized Sir / Madam, I have an R script file in which it includes PAM Clustering codes: *when i ran R script i am getting this error:* *Error in pam(d, 10) : x is not a numeric dataframe or matrix.* *Execution halted* How can i fix this error? Thanks in advance. ​ data.csv

Re: [R] To submit R jobs via SLURM

2016-10-04 Thread Sema Atasever
; #SBATCH --mail-type=begin,end,abort >> #SBATCH --mail-user=use...@email.com >> #SBATCH --time= >> #SBATCH --nodes= >> #SBATCH --job-name=myjob >> #SBATCH --output=/home//run-%A_%a.Sout #special output filename >> >> >> Dominik >> >> >&

[R] To submit R jobs via SLURM

2016-10-03 Thread Sema Atasever
Dear Authorized Sir / Madam, I have an R script file in which it includes this lines: How can i to submit this R jobs via SLURM? Thanks in advance. *testscript.R* data=read.table("seqDist.50", header=FALSE)[-1] attach(data) d=as.matrix(data) library(cluster) cluster.pam = pam(d,6) table(cluster.

[R] Calculate negative log of the E-Values in R

2016-02-26 Thread Sema Atasever
Dear Authorized Sir / Madam, If you don't mind, I want to ask how can i calculate negative log of the E-Values in R. *For Example: * What is the negative log of the 4e-108? I would appreciate if you could advise me some methods. Thanks in advance. [[alternative HTML version deleted]]