Hello,
Thank you for your previous help, I would like to complete my script but a blockage persists
I would like to write : the top three score are: the best (here QNKLLLVS), the best -1 (here TYLFRLMA) and the best - 2 (here PNSGPFSF), with value: 34, 30 and 28. But I can not unblock the error in my script.
segements
TATLQAKA at like score 22
EARKIFRF at like score 21
SKKELKEL at like score 24
PNSGPFSF at like score 28
TYLFRLMA at like score 30
QNKLLLVS at like score 34
QGLRAGSF at like score 27
segments_data <- read.table("segments.txt", header = TRUE)
cat("the top three score are:", segments_data[i[1],], ",", segments_data[i[2],], "and", segments_data[i[3],], "with respective scores:", sort(scores, decreasing = TRUE) [1],",", sort(scores, decreasing = TRUE) [2], "and", sort(scores, decreasing = TRUE) [3],".", "\n")
Do you have an idea?
Thank you