In the script of genomeScan.r, appears the requiring of a txt file to get the end position of the chromosome. But I have no idea of what it's looks like. The script concerning this issue is attached below. Could you please help me to find it out. Thanks in advance.
In the script of genomeScan.r, appears the requiring of a txt file to get the end position of the chromosome. But I have no idea of what it's looks like. The script concerning this issue is attached below. Could you please help me to find it out. Thanks in advance.
Get chrom ends for making positions additive
chrom<-read.table("./genome_scan/chrEnds.txt",header=T) chrom$add<-c(0,cumsum(chrom$end)[1:21])