NMF installation with current R version
1
0
Entering edit mode
Abhishek • 0
@17a8773a
Last seen 23 months 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 • 2.8k views
ADD COMMENT
0
Entering edit mode
shepherl 3.8k
@lshep
Last seen 22 minutes 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: 907 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