Displaying 3 results from an estimated 3 matches for "sagold".
Did you mean:
magold
2009 Feb 15
1
Delete row if first letter of row name is
Hello!
I am still a beginner. Can you tell me how to delete a row (from a matrix or data.frame) if the row name starts with U? See example below:
U179971039 0.058663 0.087575
empty1 -0.1296 -0.09105
empty2 0.136259 0.398073
empty3 0.446041 -0.33997
Sally
[[alternative HTML version deleted]]
2009 Feb 19
1
Read.table not reading in all columns
Hello,
I am reading in a file called fit2.txt (Limma). fit2.txt has 38 columns but when I dim(fit2) I only get 6 columns. The first column that it does not read in is df.residual.
fit2<-read.table(fit2, file="fit2.txt",sep="\t",quote="",comment.char="",as.is=TRUE)
The first few lines of fit2.txt (does not include all 38 columns) looks like this:
2009 Feb 12
0
Error Message: Error in dim(data) <- dim : attempt to set an attribute on NULL
I have the following code, from which I get the following error message:
Error in dim(data) <- dim : attempt to set an attribute on NULL
I think the error is coming from the part of my code in BOLD RED. The script works fine until then.
#Load libraries
source("http://bioconductor.org/biocLite.R")
biocLite()
library(limma)
library(Biobase)
#change directory to folder where