I tried but couldnt.
> BiocManager::install("impute")
'getOption("repos")' replaces Bioconductor standard
repositories, see '?repositories' for details
replacement repositories:
CRAN: https://cran.uni-muenster.de
Bioconductor version 3.16 (BiocManager 1.30.18), R 4.2.1
(2022-06-23)
Installing package(s) 'impute'
Warning: unable to access index for repository https://bioconductor.org/packages/3.16/data/annotation/bin/macosx/big-sur-arm64/contrib/4.2:
cannot open URL 'https://bioconductor.org/packages/3.16/data/annotation/bin/macosx/big-sur-arm64/contrib/4.2/PACKAGES'
Warning: unable to access index for repository https://bioconductor.org/packages/3.16/data/experiment/bin/macosx/big-sur-arm64/contrib/4.2:
cannot open URL 'https://bioconductor.org/packages/3.16/data/experiment/bin/macosx/big-sur-arm64/contrib/4.2/PACKAGES'
Warning: unable to access index for repository https://bioconductor.org/packages/3.16/workflows/bin/macosx/big-sur-arm64/contrib/4.2:
cannot open URL 'https://bioconductor.org/packages/3.16/workflows/bin/macosx/big-sur-arm64/contrib/4.2/PACKAGES'
Warning: unable to access index for repository https://bioconductor.org/packages/3.16/books/bin/macosx/big-sur-arm64/contrib/4.2:
cannot open URL 'https://bioconductor.org/packages/3.16/books/bin/macosx/big-sur-arm64/contrib/4.2/PACKAGES'
Package which is only available in source form, and
may need compilation of C/C++/Fortran: ‘impute’
Do you want to attempt to install these from sources? (Yes/no/cancel)
installing the source package ‘impute’
trying URL 'https://bioconductor.org/packages/3.16/bioc/src/contrib/impute_1.71.0.tar.gz'
Content type 'application/x-gzip' length 641566 bytes (626 KB)
==================================================
downloaded 626 KB
/opt/R/arm64/bin/gfortran -mtune=native -fno-optimize-sibling-calls -fPIC -Wall -g -O2 -c knnimpute.f -o knnimpute.o
The downloaded source packages are in
‘/private/var/folders/03/7__b_csn7sng_k9lzdl377wh0000gn/T/RtmpSMlv9l/downloaded_packages’
Warning message:
In install.packages(...) :
installation of package ‘impute’ had non-zero exit status
• 0 views
•
link
Before installing
WGCNAinstall the prerequisites.https://horvath.genetics.ucla.edu/html/CoexpressionNetwork/Rpackages/WGCNA/#manualInstall
it is same.