doubts regarding opening rda file
0
0
Entering edit mode
7.3 years ago

hii, I have created rda file by using this code.

query.exp.hg38 <- GDCquery(project = "TCGA-GBM", data.category = "Transcriptome Profiling", data.type = "Gene Expression Quantification", workflow.type = "HTSeq - FPKM-UQ", barcode = c("TCGA-14-0736-02A-01R-2005-01", "TCGA-06-0211-02A-02R-2005-01"))
GDCdownload(query.exp.hg38)
expdat <- GDCprepare(query = query.exp.hg38, save = TRUE, save.filename = "exp.rda")

while trying to open that rda file,i am getting primitive error.load("exp.rda") show(exp) function (x) .Primitive("exp") how to save a file like this?? save(dataBRCA, geneInfo , file = "dataGeneExpression.rda") If anybody knows please post the answer.

R • 2.0k views
ADD COMMENT
0
Entering edit mode

I tried some code formatting on your post, to increase readability. I would like to encourage you to do the same, using the 101010 button. I think I got the first part right, but after error.load... I'm not so sure about the line breaks.

ADD REPLY
0
Entering edit mode

What do you mean by 101010 button?

ADD REPLY
0
Entering edit mode

When you respond (please use ADD REPLY/ADD COMMENT when responding to existing posts to keep threads logically organized) there is a set of buttons that show up at the top of the edit window. It is the fifth button from the left. Select part of the text that represents code and then click that button to format it like you see if your original post.

ADD REPLY
0
Entering edit mode
    dataNorm <- TCGAanalyze_Normalization(tabDF = BRCA, geneInfo =  geneInfo)
Error in as.vector(x) : no method for coercing this S4 class to a vector
In addition: Warning messages:
1: In NSBS(i, x, exact = exact, upperBoundIsStrict = !allow.append) :
  subscript is an array, passing it thru as.vector() first
2: In NSBS(i, x, exact = exact, upperBoundIsStrict = !allow.append) :
  subscript is an array, passing it thru as.vector() first
3: In NSBS(i, x, exact = exact, upperBoundIsStrict = !allow.append) :
  subscript is an array, passing it thru as.vector() first
4: In NSBS(i, x, exact = exact, upperBoundIsStrict = !allow.append) :
  subscript is an array, passing it thru as.vector() first

I am getting this error.But i don't know how to overcome this problem.please give any suggestion.

ADD REPLY

Login before adding your answer.

Traffic: 1808 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6