[BioC] CGHcall and Normalization

Martin Morgan mtmorgan at fhcrc.org
Sat Jun 11 17:24:09 CEST 2011


On 06/08/2011 08:47 AM, Salih Tuna wrote:
> Hi,
>
> i am trying to use the normalization function from CGHcall library.
>
> The command i use is
>
>
>
> normal.fullData<- normalize(fullData, method = "median", cellularity =
> 1)
>
> and i get the following error message. How can i solve this issue.
>
> Error in function (classes, fdef, mtable)  :
>
>    unable to find an inherited method for function "copynumber", for
> signature "data.frame"

Hi Salih --

If I

   example(CGHcall)

and look at how normalize() is used, the first argument is 'raw.data' 
and it is

 > class(raw.data)
[1] "cghRaw"
attr(,"package")
[1] "CGHbase"

if instead I

 > normalize(data.frame())
Applying median normalization ...
Error in function (classes, fdef, mtable)  :
   unable to find an inherited method for function "copynumber", for 
signature "data.frame"

so perhaps you are trying to use a data.frame instead of an object of 
'cghRaw', i.e., your earlier work flow needs to be adjusted. If you need 
more help, it is best to post a reproducible example, starting from 
sample data available in the package.

Hope that helps,

Martin
>
> best,
>
> salih
>
>
>
>


-- 
Computational Biology
Fred Hutchinson Cancer Research Center
1100 Fairview Ave. N. PO Box 19024 Seattle, WA 98109

Location: M1-B861
Telephone: 206 667-2793



More information about the Bioconductor mailing list