Error viewing the data set Golub_Merge
1
0
Entering edit mode
@shramanathakur-9856
Last seen 8.1 years ago

I am new to R. I am trying to view the Golub_merge dataset in R using the View() function.
> View(Golub_Merge)

and, I get this error:

Error: VECTOR ELT() can only be applied to a 'list', not a 'builtin'

Please help.

golubEsets rstudio • 1.2k views
ADD COMMENT
0
Entering edit mode
@james-w-macdonald-5106
Last seen 5 hours ago
United States

Golub_Merge is an ExpressionSet, not a 'matrix-like R object'. If you want to use View, you have to extract whatever you want to look at first.

View(exprs(Golub_Merge))

View(pData(phenoData(Golub_Merge)))

See ?ExpressionSet for more information.
 

ADD COMMENT
0
Entering edit mode

Actually, View(Golub_Merge) works for me, because as.data.frame(Golub_Merge) is defined and works. I guess there is another package involved, masking the as.data.frame generic from BiocGenerics. OP, please EDIT your question to add the output of traceback() (immediately after the error) and sessionInfo().

ADD REPLY

Login before adding your answer.

Traffic: 901 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