cma2015 / G2P

G2P is an integrated genomic selection (GS) package for predicting phenotypes from genotypes. It includes 15 GS algorithms and 13 evaluation measurements.
11 stars 10 forks source link

predlist error #5

Open Anilcgpb opened 2 years ago

Anilcgpb commented 2 years ago

Hi can you please help me to solve this error

predlist <- G2PCrossValidation(cross = 10, seed = 1 , cpus = 3, markers = Markers,

  • pheVal = phenotype, modelMethods = c("rrBLUP", "RFC"),
  • outputModel = FALSE, trainedPhenVec = pheVal) 3 cores were used for cross validation ... Start cross validation ... Error in checkForRemoteErrors(val) : 3 nodes produced errors; first error: argument "pheVal" is missing, with no default Called from: checkForRemoteErrors(val)
cma2015 commented 2 years ago

Please check the format of pheVal, and make sure the there are phenotypic values in the 'pheVal'.

Anilcgpb commented 2 years ago

I am getting same error with data set attached with the G2P package. is there way to solve this?

cma2015 commented 2 years ago

please check the format of pheVal. Chuang

On Thu, 14 Jul 2022 at 19:01, Anilcgpb @.***> wrote:

Hi can you please help me to solve this error

predlist <- G2PCrossValidation(cross = 10, seed = 1 , cpus = 3, markers = Markers,

-

                          pheVal = phenotype, modelMethods = c("rrBLUP", "RFC"),

-

                          outputModel = FALSE, trainedPhenVec = pheVal)

3 cores were used for cross validation ... Start cross validation ... Error in checkForRemoteErrors(val) : 3 nodes produced errors; first error: argument "pheVal" is missing, with no default Called from: checkForRemoteErrors(val)

— Reply to this email directly, view it on GitHub https://github.com/cma2015/G2P/issues/5, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADLGHELB6OY733B3AYLSRS3VT7XQTANCNFSM53R237YA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

-- 马 闯 旱区作物逆境生物学国家重点实验室 *生命科学学院/西北农林科技大学 陕西 杨凌(712100) Prof. Dr. Chuang Ma Professor of Bioinformatics, State Key Laboratory of Crop Stress Biology in Arid Areas, College of Life Sciences, Northwest A&F University, Yangling, Shaanxi, 712100, China. Tel: (029)-87091109 Email: @. @.>*

Anilcgpb commented 2 years ago

pheVal is in vector format