Displaying 2 results from an estimated 2 matches for "scaffold_1".
Did you mean:
scaffold1
2011 Aug 30
1
column names with rbind loop
...ugh them like this:
> new.data <- NULL
> for(i in all.files) {
+ in.data <- read.table(i)
+ new.data <- rbind(new.data, in.data)}
> head(new.data)
V1 V2 V3 V4 V5 V6 V7
1 seq_id source type start end score strand
2 scaffold_1 Ptrichocarpav2_0 gene_body 12639 13384 . +
3 scaffold_1 Ptrichocarpav2_0 gene_body 22190 22516 . +
4 scaffold_1 Ptrichocarpav2_0 gene_body 74076 75893 . +
5 scaffold_1 Ptrichocarpav2_0 gene_body 80207 81289 . -
6 scaffold_1 Ptrichocarpav2_0 gene_body 1052...
2011 Aug 30
0
Problem resolved: thanks! RE: column names with rbind loop
...or(i in all.files) {
>> + in.data <- read.table(i)
>> + new.data <- rbind(new.data, in.data)}
>>> head(new.data)
>> V1 V2 V3 V4 V5 V6 V7
>> 1 seq_id source type start end score strand
>> 2 scaffold_1 Ptrichocarpav2_0 gene_body 12639 13384 . +
>> 3 scaffold_1 Ptrichocarpav2_0 gene_body 22190 22516 . +
>> 4 scaffold_1 Ptrichocarpav2_0 gene_body 74076 75893 . +
>> 5 scaffold_1 Ptrichocarpav2_0 gene_body 80207 81289 . -
>> 6 scaffol...