Error: 'IdClusters'
4
0
Entering edit mode
@d16504ea
Last seen 21 months ago
Mexico

I am trying to run this line:

clusters <- DECIPHER::IdClusters( d, method = "complete", cutoff = 0.03, # use cutoff = 0.03 for a 97% OTU processors = nproc)

but I received "Error: 'IdClusters' is not an exported object from 'namespace:DECIPHER'"

I tried to install several times DECIPHER with this BiocManager::install("DECIPHER") and it does not mark any error in the installation. I am using R 4.2.2. Is anybody having the same trouble?

DECIPHER • 2.2k views
ADD COMMENT
1
Entering edit mode
@marcel-ramos-7325
Last seen 2 days ago
United States

Hi Julieta,

It looks like the maintainer has removed the function without deprecating it. It was last available in RELEASE_3_15.

https://code.bioconductor.org/browse/DECIPHER/blob/RELEASE_3_15/R/IdClusters.R

The author should follow the guidelines shown here:

http://contributions.bioconductor.org/deprecation.html?q=De#deprecate-function

Best regards,

Marcel

ADD COMMENT
1
Entering edit mode
Ling-Hsiu ▴ 10
@b3f7034e
Last seen 18 months ago
United States

for ref https://github.com/benjjneb/dada2/issues/947#issuecomment-1277776614

clusters <- DECIPHER::TreeLine(
  myDistMatrix=d,
  method = "complete",
  cutoff = 0.03, # use `cutoff = 0.03` for a 97% OTU
  type = "clusters",
  processors = nproc)
ADD COMMENT
0
Entering edit mode
@james-w-macdonald-5106
Last seen 44 minutes ago
United States

That's not an exported function for DECIPHER, although there is IdConsensus. Is that what you are looking for?

ADD COMMENT
0
Entering edit mode
Erik Wright ▴ 150
@erik-wright-14386
Last seen 6 months ago
United States

The IdClusters() function was split into two functions, Clusterize() and TreeLine(), in the latest version of DECIPHER.

ADD COMMENT
1
Entering edit mode

As Marcel noted above, it is considered bad form to just remove (or split) functions without a deprecation/defunction cycle. At the very least you should add a deprecation warning to point end users to the new functions.

ADD REPLY

Login before adding your answer.

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