Displaying 3 results from an estimated 3 matches for "path4".
Did you mean:
path
2000 Oct 16
2
renaming an object
...contains names of R objects the user would like to use.
The second col contains the file names which will be read in using
read.table
i.e. exp.batch may look like this.....
name1 complex/filename/path1.txt
name2 complex/filename/path2.txt
name3 complex/filename/path3.txt
name4 complex/filename/path4.txt
I want to have a function which will read in the files and make them into
the objects named in the 1st column - automatically (by just providing
exp.batch)
for(i in 1:nrow(exp.batch)){
tmp<-read.table(as.name(exp.batch[i,2]),...)
##
##But now I really want tmp to be as.name(exp.batch[i,1...
2012 Aug 07
0
predicting test dataset response from training dataset with randomForest
...RUE, varUsed=TRUE, ntree=5000, varImpPlot=TRUE)
>
>
> print(dat1.rf)
> varImpPlot(dat1.rf)
>
> varUsed(dat1.rf, by.tree=FALSE, count=TRUE)
>
> MDSplot(dat1.rf, dat1$SR, palette=rep(1, 2),
+ pch=as.numeric(dat1$SR))
>
>
> path3 <- "C:\\Users..."
> path4 <- "..."
> name2 <- "..."
>
> # reading in the test dataset
> actualFileName2 <- paste(path3, path4, name2, ".txt", sep="")
>
> dat2 <- read.table(actualFileName2, header=TRUE, sep="\t",
> colClasses="characte...
2006 Apr 07
2
Dealing with missing values in HeatMap generation
Hi,
I want to generate a heatmap for my data (in a matrix). However, the
data has some missing values (represented as blank).
I get the following errors (with the blanks and with blanks replaced by
NA and including the option rm.na = TURE):
> filename = "input_heatmap.txt"
> g <- as.matrix(filedata)
> fg <- rainbow(nrow(g), start=0, end=.3)
> gg <-