Skip to content

Error in reading imput files (even examples provided from GCAT team) #73

@Jadelrea

Description

@Jadelrea

Dear GCAT team,

I have been a GCAT user in its Ubuntu version, but I am currently developing my own R scritp for processing a large amount of plates. After downloading the GCAT_6.3.1.tar file and installing in RStudio, I tried to run gcat.analysis.main function and I get always the same error, even when I use the example files provided in this Github repository.

This is how I called the function:

  mygcatfiles <- as.list(paste(mydir,"/single_YPDAFEXglucoseTests_2-25-10.csv",sep=""))
  mylayoutfiles <- as.list(paste(mydir,"/single_YPDAFEXglucoseTests_2-25-10_Layout.csv",sep=""))

  gcat.analysis.main(file.list=mygcatfiles, single.plate = TRUE, layout.file = mylayoutfiles,
                    out.dir = getwd(), graphic.dir = getwd(), blank.value = 0.03, auc.end = 63, start.index = 2)

And I get the following error:
[1] "Error in read.table(file = file, header = header, sep = sep, quote = quote, : \n 'file' must be a character string or
connection\n"

From the GCAT code (GCAT.main.R lines 366-370) I believe that the files I provided are not being taken as ".csv" which I do not understand. Instead, function read.table(), apparently meant for other formats in this function, is called.

Please, could you give me some tips why this could be happenning? Maybe something to do with R version?

Thank you very much for your help

Javier

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions