Skip to content

Merging listed dataset into one

2 messages · Rui Barradas, David Winsemius

#
Hello,

That error is because your datum is of a class that merge.default cannot 
handle, like the error message says. By the look of it, class 
"TillingFeatureSet" has a print method written to print it. This because 
it prints objects of that class with some descriptive information not 
part of the object itself. The underlying structure seems to be a list, 
which was subclassed to a "TillingFeatureSet" class object, with methods 
specially written for it.

Bottom line: if you merge the two components, the special behavior that 
comes with its class might be lost. Do you really need to merge them?

If so, use dput(rawData), its output, to post your object. But think 
about it first.

Hope this helps,

Rui Barradas

Em 28-06-2012 16:47, Seungyeul Yoo escreveu:
#
On Jul 1, 2012, at 6:15 AM, Rui Barradas wrote:

            
Actually the error was from the coercion function  
`as.data.frame.default`. This rawData object appears to be a list of  
two S4 objects, (but that is a guess) and I suspect it was created by  
a BioConductor package. It's not surprising that a complex irregular  
object would not have an "as" method.  (None of the requested  
information about the package being used (very possibly "oligo") or  
other system details were provided.)

The question should probably be reformulated with more details and  
sent to the BioConductor mailing list.