ImmuCellAI
0
0
Entering edit mode
6 weeks ago
sana • 0

Hello everyone, I'm trying to use the code for ImmuCellAI (the old version)

Here is my code:

install.packages("tidyverse")
library(tidyverse)
library(lubridate)
install.packages("BiocManager")
BiocManager::install("usethis")
install.packages("devtools")
library(devtools)
library(usethis)
install_github("lydiaMyr/ImmuCellAI@main",force = TRUE)
library(ImmuCellAI)
data <- read.csv("C:/Users/Hp/Desktop/base/ImmuCellAI.csv", header = TRUE, sep = ";")
data <- as.matrix(data)
test<-ImmuCellAI(sample = data,
                 data_type = "microarray",
                 group_tag = 1,
                 customer = FALSE)

Once I run the test function; this error occurs

Error in quadprog::solve.QP(Dmat, dvec, t(Amat), bvec, meq = meq) : 
 NA/NaN/Inf in a call to an external function (argument 2)
Additionally: There were 50 or more warnings (use warnings() to see the first 50)
"In apply(sample, 2, as.numeric):
NAs introduced during automatic conversion

Can someone help me please? Thanks for the help.

RStudio ImmuCellAI • 129 views
ADD COMMENT

Login before adding your answer.

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