Thank you for the response. I am still a newbie on R, but I`m trying to learn. I converted p to a data frame. I got an error still, and I suspect its the tibbles issue you mentioned. If there's suggestions or modifications I would greatly appreciate it very much :)
BiocaManager::install()
BiocManager::install(c("GenomicFeatures", "AnnotationDbi"))
install.packages("BiocManager")
library(BiocManager)
library("STRINGdb")
string_db <- STRINGdb$new( version="11", species=469008, score_threshold=00, input_directory="")
install.packages("xlsx")
library(readxl)
p <- read_excel("1.xlsx")
View(pr)
pr = data.frame(p)
pr
pr_mapped <- string_db$map( pr, "gene", removeUnmappedRows = TRUE )
#Warning: we couldn't map to STRING 100% of your identifiers