wgcna trait file
0
0
Entering edit mode
7.9 years ago

i am runnig wgcna r code by following ucla lab wgcna tutorial. i am finding a problem in trait file match to expression set...when i run a code like this i am ending with this error...can any one sort my problem

traitData =read.csv("ClinicalTraits.csv")
dim(traitData)
names(traitData)
allTraits=traitData[,c(2,3)]
names(allTraits)
Mice=rownames(datExprFemale)
traitRows = match(Mice, allTraits$Mice)
datTraits = allTraits[traitRows, -1]
> traitRows 
 [1] NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA 16 17 18 19 20 21 22 23 24 25
[26] 26 27 28 NA 30 31 32 33 34 35 36 37 38 39 40 41 42 43 NA NA NA 47 NA 49 50
[51] NA NA NA NA 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75
[76] 76 77
>

why i am getting NA

RNA-Seq next-gen rna-seq ChIP-Seq • 2.4k views
ADD COMMENT

Login before adding your answer.

Traffic: 1973 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6