Guest User

Untitled

a guest
Jan 24th, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. chr <- c("1","1","2")
  2. pos <- c("1000","2000","2000")
  3. df1=data.frame(cbind(tmp1,tmp2))
  4. df1
  5.  
  6. chr pos
  7. 1 1000
  8. 1 2000
  9. 2 2000
  10.  
  11. chr <- c("1","1","1","2","2")
  12. start <- c("500","1500","2500","500","1500")
  13. end <- c("1499","2499","3499","1499","2499")
  14. state <- c("state1", "state2", "state1", "state3", "state4")
  15. df2=data.frame(cbind(chr,start,end,state))
  16. df2
  17.  
  18. chr start end state
  19. 1 500 1499 state1
  20. 1 1500 2499 state2
  21. 1 2500 3499 state1
  22. 2 500 1499 state3
  23. 2 1500 2499 state4
  24.  
  25. chr pos state
  26. 1 1000 state1
  27. 1 2000 state2
  28. 2 2000 state4
Add Comment
Please, Sign In to add comment