Reputation: 21
I have a gct file which I want to read in R for gene expression analysis. however the read.gct("file path") is not being recognized. Do I need a package which supports the function. if yes then what is the package called. thanks
Upvotes: 2
Views: 8344
Reputation: 51
This thread is slightly older. Anyhow, another solution is to use read.table() with no need for any other library. GCT files are just plain text files. One just has to skip the header lines:
dat.gct <- read.delim(file="GTEx_Analysis.gct.gz", skip=2)
Upvotes: 5