Non-numeric-alike variable(s) in data frame
0
0
Entering edit mode
2.6 years ago

Hi guys!

Does anyone know how to remove the header below because it keeps coming up with Error in Math.data.frame(Microarray.MSCs): non-numeric-alike variable(s) in data frame: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12

Also, does anyone know what the R codes would be to perform microarray analysis in R. I'm following this https://www.semel.ucla.edu/sites/default/files/coppola-lab/CoppolaExampleCode.pdf workflow.

head(Microarray.MSCs)  

           V1        V2        V3        V4        V5        V6       V7        V8        V9
1    ProbeName   Day 0-1   Day 0-2   Day 0-3   Day 7-1   Day 7-2  Day 7-3  Day 14-1  Day 14-2
2 A_04_P063001   666.636 1696.1885  1557.941  6252.668 2919.4412 5536.268 12564.507 10459.793
3 A_04_P027222 134.40279  163.9967 150.52025  1936.827  583.9774 1742.507 1738.8904 1738.4939
4 A_04_P054052  79.53051 149.24582 276.84015 351.02386 332.94275  482.743  406.8957  289.9612
5 A_04_P043272 4.9999995  7.891682  20.59979  66.30415 57.350246 65.05819 46.807858  47.90688
6 A_04_P082033 4.9999995  5.562969  22.03437 28.541346  21.72589 45.44614 22.657038 9.8729105
        V10       V11       V12       V13          V14
1  Day 14-3  Day 21-1  Day 21-2  Day 21-3   GeneSymbol
2 10751.576   715 9.59   5940.33  6241.056 LOC100346751
3 1691.0352 899.52216  653.9722  702.0644             
4 411.41324 154.12201 126.39794 397.99387             
5 45.024284 29.569155 26.168947  69.53682 LOC100342109
6 16.986622 7.7133107 4.9999995   57.2613   

Thankyou!

microarray_analysis • 3.3k views
ADD COMMENT
0
Entering edit mode

Duplicate of Microarray analysis in R - target.txt,file,Sample info

colnames(Microarray.MSCs) <- Microarray.MSCs[1,]
Microarray.MSCs <- Microarray.MSCs[-1,]
ADD REPLY
0
Entering edit mode

Microarray analysis in R- target.txt,file, Sample info was my post. Thankyou for your help. The second command came up as an error. Error in x[[jj]][iseq] <- vjj : replacement has length zero

ADD REPLY
0
Entering edit mode

Ah yeah, edited it. My bad.

ADD REPLY
0
Entering edit mode

Ok, great, thankyou.

ADD REPLY

Login before adding your answer.

Traffic: 1949 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