I am trying to use the chromoPlot package in R to visualize chromosome segments.
According to the guide I should make a chromosome file that defines the chromosomes of interest and a data file with segments of interest
then
library(chromoMap)
chromoMap("FF Chromosome Map/DB/chromosome_file.txt","FF Chromosome Map/DB/Anne Larsen.txt")
should nice draw the segments on the chromosome map.
However I get the error when I try to run the code
********************************** __ __ ************
** __**|__ * __* __ * __ __ * __ *| | |* __ * __ **
**|__**| |*| *|__|*| | |*|__|*| | |*|_ |*|__|**
***********************************************| **
*************** by Lakshay Anand ********************
OUTPUT:
Number of Chromosome sets: 1
Error in scan(file = file, what = what, sep = sep, quote = quote, dec = dec, :
line 2 did not have 5 elements
when I read the data files manually they have 4 columns each \tab separated as they should.
Any suggestions