Question: wgcna trait file
0
gravatar for rajasekargutha
3.0 years ago by
India
rajasekargutha20 wrote:

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 chip-seq next-gen • 1.2k views
ADD COMMENTlink modified 2.9 years ago by Biostar ♦♦ 20 • written 3.0 years ago by rajasekargutha20
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 814 users visited in the last hour