Converting csv file to genomic ranges file
I have used the following line of code before to convert my .csv file to GRanges:
#Converting csv to GRanges
gr <- makeGRangesFromDataFrame(Test, keep.extra.columns=TRUE)
Weirdly enough, this line is still working for an older file but no more for the new file. Here is the error that I see:
Error in .Call2("C_solve_user_SEW0", start, end, width, PACKAGE = "IRanges") :
In range 20498: at least two out of 'start', 'end', and 'width', must
be supplied.
I made sure the columns are same as the old file (that works).
• 1,407 views
•
link
0 answers
No answers yet.
Log in to answer this question.
Please provide some example data, right now we have no idea what
Testeven is. Something likehead(Test)for example.