[BioC] Problem with getSnpAnnotation (2)

Rob Scharpf rscharpf at jhsph.edu
Mon Sep 17 13:59:32 CEST 2007


> > plotSnp(chr.hmm)
> Error en function (classes, fdef, mtable)  :
>   unable to find an inherited method for function "plotSnp", for  
> signature "HmmSnpCallSet", "missing"

See the vignette -- there were some recent changes to the plotting  
methods.  In particular, plotSnp requires two arguments.  The first  
is an object extending class ParESet -- typically created by calling  
getPar.  So try

 > graph.par <- getPar(chr.hmm)
 > class(graph.par)
 > plotSnp(graph.par, chr.hmm)

and let me know if you have problems.

Thanks,

Rob



More information about the Bioconductor mailing list