Entering edit mode
Marcelo Luiz de Laia
▴
770
@marcelo-luiz-de-laia-377
Last seen 10.2 years ago
Dear all,
I read a data set with the command:
> Tol.eSet <- read.exprSet("Tolerante_b.txt") and the result is
wonderful!
> Tol.eSet
Expression Set (exprSet) with
2516 genes
18 samples
phenoData object with 1 variables and 18 cases
varLabels
sample: arbitrary numbering
Now, I try to set the geneNames slot. I try these commands:
> Tol.geneNames <- read.table("geneNames.txt",header =
TRUE,colClasses
= "character")
> Tol.eSet$geneNames<-Tol.geneNames
> Tol.eSet$geneNames
NULL
> geneNames(Tol.eSet)<-Tol.geneNames
Error in "rownames<-"(x, value) : length of dimnames [1] not equal to
array extent
The column that contain geneNames is named Genes in txt archive.
Anyone could help me?
thanks
Marcelo
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.