Advertisement
Guest User

Untitled

a guest
Oct 21st, 2016
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.76 KB | None | 0 0
  1. datafile = "C:\Users\589016\Desktop\Test.csv"
  2. countTable = read.delim(datafile, sep = ";", header = F)
  3. countTable
  4. V1 V2 V3 V4
  5. b1 1,2 4 40 30
  6. b2 3,2 3,4 50 3,1
  7. b3 4 4,3 20 30,2
  8. b4 5 3 3,2 3,4
  9. b5 3,2 4,5 4 4,1
  10. b6 0 5 2,1 3
  11. b7 4,5 0 3,4 2,1
  12. b8 3 0 0,1 2,1
  13. b9 2 3,2 0,1 0
  14. b10 0,4 0 0,1 1
  15.  
  16. ExpDesign = data.frame(row.names = colnames(countTable), condition = c("control", "control", "case", "case"))
  17. ExpDesign
  18. condition
  19. V1 control
  20. V2 control
  21. V3 case
  22. V4 case
  23. cds = DESeqDataSetFromMatrix(countData = countTable, colData=ExpDesign$condition, design=~ExpDesign$condition)
  24.  
  25. Error in `rownames<-`(`*tmp*`, value = c("V1", "V2", "V3", "V4")) :
  26. attempt to set 'rownames' on an object with no dimensions
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement