astuces utiles To import a SAM file or other data having “#” as data using read.table, it is necessary to change the “comment.char” option.
test.sam <- read.table('test.sam', comment.char = "")
astuces utiles To import a SAM file or other data having “#” as data using read.table, it is necessary to change the “comment.char” option.
test.sam <- read.table('test.sam', comment.char = "")
Import specific columns into R using read.table
test.import <- read.table(pipe("cut -f1,2,4 data.tab"))