NMF installation with current R version
1
0
Entering edit mode
Abhishek • 0
@17a8773a
Last seen 2.6 years ago
Taiwan

I am trying to run the following code. But I end up with the same "biobase" error.

library(NMF)
library('readxl')

data <- read_excel("file.xlsx",sheet = 1)
rank = 2

res = nmf(data,rank)

#Output

Loading required package: Biobase
Error: package or namespace load failed for ‘NMF’ in .requirePackage(package):
 unable to find required package ‘Biobase’
In addition: Warning messages:
1: package ‘NMF’ was built under R version 4.1.3 
2: In library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE,  :
  there is no package called ‘Biobase’
NMF Biobase • 4.2k views
ADD COMMENT
0
Entering edit mode
shepherl 4.1k
@lshep
Last seen 2 days ago
United States

Install the Biobase package

if (!require("BiocManager", quietly = TRUE))
    install.packages("BiocManager")

BiocManager::install("Biobase")

Then try again

ADD COMMENT

Login before adding your answer.

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