Error in read.table(file = file, header = header, sep = sep, quote = quote, : 'file' must be a character string or connection

hi COMMUNITY,
I am trying ASMAP package and trying to adapt my data to the reference example script to construct the genetic map and I am encountering the error as below:-

PlotTitle='Rami's Genetic Map'
###gtfn <- 'data/PxW141 KASP data.csv' ### name of the genotype file
gtfn <- 'data/rilsfine markers.csv'
gts <- read.csv(gtfn,as.is=T,row.names=1) ### read genotype file
Error in read.table(file = file, header = header, sep = sep, quote = quote, :
'file' must be a character string or connection
please let me know if someone has any idea of this type of error

I have also kept trying "file name" but no help

Thanks
Rami

This is just a guess bet it looks like the problem may be here

PlotTitle='Rami's Genetic Map'

I think you have one too many '.
Try

PlotTitle="Rami's Genetic Map"

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.