Skip to content

Commit 345b8ca

Browse files
author
nthomasCUBE
authored
Update 0_convert_example_data.R
1 parent 01c5253 commit 345b8ca

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

demo_data/0_convert_example_data.R

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
d1=read.csv("data/FemaleLiver-Data/ClinicalTraits.csv",sep=",",header=T,row.names=1)
22
write.table(d1,"Traits_modified.txt",sep="\t",row.names=FALSE,quote=FALSE)
33

4+
d1=read.csv("data/FemaleLiver-Data/LiverFemale3600.csv",sep=",",header=T)
5+
d1=cbind("Gene"=rn,d1[,9:dim(d1)[2]])
6+
write.table(d1,"Expression_modified.txt",sep="\t",row.names=FALSE,quote=FALSE)
7+

0 commit comments

Comments
 (0)