search for: dimer

Displaying 13 results from an estimated 13 matches for "dimer".

Did you mean: timer
2010 Dec 16
1
my function does not work for large data set
Dear R community, I have one function, it works for small data set, but does not work on large data set, can anyone help me with this? > #creat new variable by dividing each aa dimer by total_length. > imper<-function(x, file) { + round(x/file$length, 5) + } > dim(test) [1] 999 2402 > test[varname[2:2401]]<- apply(as.matrix(test[varname[2:2401]]), 2, function (x) imper(x, test)) > dim(dimer.nn) [1] 999554 2402 &g...
2010 May 12
1
exact the variables used in tree construction
> fit.dimer <- rpart(as.factor(out) ~ ., method="class", data=p_df) > > fit.dimer$frame[, "var"] [1] NE WC <leaf> TA <leaf> <leaf> WG WD WW WC [11] <leaf> <leaf> <leaf> CT <leaf> FC <leaf> YG QT...
2010 Apr 19
0
help in output file
HI, Dear R-community, I AM using the following codes to grow tree and plot tree: # Classification Tree with rpart library(rpart) pdf(file="/home/cdu/changbin/dimer_tree.pdf") # grow tree fit.dimer <- rpart(outcome ~ ., method="class", data=p.dimer[,2:402]) plotcp(fit.dimer) # visualize cross-validation results # plot tree plot(fit.dimer, uniform=TRUE, main="Classification Tree for AA.dimer") text(fit.dimer, use.n=TRUE, all=TRUE...
2010 Sep 07
1
change the for loops with lapply
...+1):(i*c.each.part) out.fold.n <-((i-1)*n.each.part +1):(i*n.each.part) train.cv <- n.cc[-out.fold.c, c(2:2401, 2417)] train.nv <- n.nn[-out.fold.n, c(2:2401, 2417)] train.v<-rbind(train.cv, train.nv) #training data for feature selection # grow tree fit.dimer <- rpart(as.factor(out) ~ ., method="class", data=train.v) at<-grep("<leaf>", fit.dimer$frame[, "var"], value=FALSE, ignore.case=TRUE) varr<-as.character(unique(fit.dimer$frame[-at, "var"])) train.cc <- n.cc[-out.fold.c,] vali...
2010 May 26
1
how to Store loop output from a function
...rt +1):(i*c.each.part) out.fold.n <-((i-1)*n.each.part +1):(i*n.each.part) train.cv <- n.cc[-out.fold.c, c(2:401, 418)] train.nv <- n.nn[-out.fold.n, c(2:401, 418)] train.v<-rbind(train.cv, train.nv) #training data for feature selection # grow tree fit.dimer <- rpart(out ~ ., method="class", data=train.v) at<-grep("<leaf>", fit.dimer$frame[, "var"], value=FALSE, ignore.case=TRUE) varr<-as.character(unique(fit.dimer$frame[-at, "var"])) train.cc <- n.cc[-out.fold.c, ] valid.cc &lt...
2010 Apr 21
2
?rpart
HI, Dear R community, Last friday, I used the codes, it works, but today, it does not run? > fit.dimer <- rpart(outcome ~., method="class", data=p.df) Error in `[.data.frame`(frame, predictors) : undefined columns selected DOEs anyone have comments or suggestions? Thanks in advance! -- Sincerely, Changbin -- [[alternative HTML version deleted]]
2010 May 11
1
how to extract the variables used in decision tree
HI, Dear R community, How to extract the variables actually used in tree construction? I want to extract these variables and combine other variable as my features in next step model building. > printcp(fit.dimer) Classification tree: rpart(formula = outcome ~ ., data = p_df, method = "class") Variables actually used in tree construction: [1] CT DP DY FC NE NW QT SK TA WC WD WG WW YG Root node error: 608/1743 = 0.34882 n= 1743 CP nsplit rel error xerror xstd 1 0.185033 0...
2011 Jun 22
1
question about read.columns
...11.. IF I dont know the relative position of the columns, but I know I need the following variables: var<-c(a1, c1,a11,b11,f111) Can I use read.columns to read the data into R? I have tried the following codes, but it does not work hh<-read.columns("/house/homedirs/c/cdu/operon/gh/dd.dimer", required.col=NULL, text.to.search=var, sep="\t", skip=0, quote="", fill=T) dim(hh) 468, 2402 hh<-read.columns("/house/homedirs/c/cdu/operon/gh/dd.dimer", required.col=var, text.to.search="", sep="\t", skip=0, quote="", fill=T)...
2009 Mar 03
2
macro-stdexten question
I am running asterisk 1.4 and the Digium GUI SVN-branch-2.0-r4489. When one phone calls another, I see the following on the console (here, 6223 dials 6123) -- Executing [6123 at DLPN_DefaultDialPlan:1] Macro("IAX2/6223-10489", "stdexten|6123|SIP/6123&IAX2/6123") in new stack -- Executing [s at macro-stdexten:1] Set("IAX2/6223-10489",
2009 Feb 26
3
Question about Do Not Disturb
Hello, Some of my users have phones lacking a DND button. I need to provide an extension they can dial that will put them in DND, i.e. tell the server not to send them any calls until they get off the DND. I've researched it for almost 3 days now and tried a range of configurations. I'm hoping somebody here has an answer. Currently, I have this in extensions.conf [app-dnd-on]
2007 Oct 04
0
New version of GillespieSSA package uploaded to CRAN
...the Direct method, Explicit tau-leaping, Binomial tau-leaping, and Optimized tau-leaping. The package also provides a library of molecular, ecological and epidemiological example models (as demos) that can easily be customized and extended. Currently the following models are included, Decaying-Dimerization Reaction Set, Linear Molecular Chain System, single-species logistic growth model, Lotka predator-prey model, Rosenzweig-MacArthur predator-prey model, and Kermack-McKendrick SIR model. The release consists of several bug fixes, improved documentation, and a revised more 'R-like'...
2007 Oct 04
0
New version of GillespieSSA package uploaded to CRAN
...the Direct method, Explicit tau-leaping, Binomial tau-leaping, and Optimized tau-leaping. The package also provides a library of molecular, ecological and epidemiological example models (as demos) that can easily be customized and extended. Currently the following models are included, Decaying-Dimerization Reaction Set, Linear Molecular Chain System, single-species logistic growth model, Lotka predator-prey model, Rosenzweig-MacArthur predator-prey model, and Kermack-McKendrick SIR model. The release consists of several bug fixes, improved documentation, and a revised more 'R-like'...
2009 Apr 02
1
Simple Queue question
Hello, I have a fairly standard call center. I'm running 1.4.23.1. I am trying to get a mechanism where : 1- Employee A can have the phone at his desk ring when a call comes in the queue 2- When already on a call, employee A does not hear a "beep" in his phone because another call is trying to come in It's fairly simple. I tried a few different things: in queues.conf [559]