The support.bioconductor.org editor has been updated to markdown! Please see more info at: Tutorial: Updated Support Site Editor

Question: package "isa2", function isa.iterate()
0
gravatar for zhang.jianhai
20 months ago by
zhang.jianhai0 wrote:

Hello,

How can I retrieve the source code of "isa.iterate()" function in package "isa2"?

I tried by typing isa.iterate, or getAnywhere(isa.iterate), or getMethods("isa.iterate", "list"). All failed.

Thanks.

Regards,

Jianhai

source code isa.iterate() • 257 views
ADD COMMENTlink modified 20 months ago by Haiying.Kong110 • written 20 months ago by zhang.jianhai0
Answer: package "isa2", function isa.iterate()
1
gravatar for Haiying.Kong
20 months ago by
Haiying.Kong110
Germany
Haiying.Kong110 wrote:

isa2:::isa.iterate

ADD COMMENTlink written 20 months ago by Haiying.Kong110

Hello,

Thanks for your reply. It is like the following, still no source code.

> isa2:::isa.iterate
standardGeneric for "isa.iterate" defined from package "isa2"

function (normed.data, ...) 
standardGeneric("isa.iterate")
<environment: 0x1ffeb88>
Methods may be defined for arguments: normed.data
Use  showMethods("isa.iterate")  for currently available ones.

ADD REPLYlink modified 20 months ago • written 20 months ago by zhang.jianhai0
1

Since the generic is not exported, showMethods() needs to be told where to look

> showMethods("isa.iterate", where=getNamespace("isa2"))
Function: isa.iterate (package isa2)
normed.data="list"

A convenient way to get source code for methods when there are only one or two is to use the argument includeDefs=

> showMethods("isa.iterate", where=getNamespace("isa2"), includeDefs=TRUE)
Function: isa.iterate (package isa2)
normed.data="list"
function (normed.data, ...) 
isa.iterate.default(normed.data, ...)

leading finally to isa2:::isa.iterate.default.

ADD REPLYlink written 20 months ago by Martin Morgan ♦♦ 22k

Martin,

Got it. Thanks a lot.

Regards,

Jianhai

ADD REPLYlink written 20 months ago by zhang.jianhai0
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 388 users visited in the last hour