Converts a genlight object into gds format

24 views
Skip to first unread message

Symphorien Agbahoungba

unread,
Jul 11, 2023, 3:33:09 AM7/11/23
to da...@googlegroups.com
Dear colleagues, 
I hope you are all fine. 
Please I have been trying to convert a genlight file into a gds format using the code below but I failed: 
gl2gds(
  x=gl,
  outfile = "gl_gds.gds",
  outpath = getwd(),
  snp_pos = "$other$loc.metrics",
  snp_chr = "$other$loc.metrics",
  chr_format = "character",
  verbose = NULL)
I am seeing this error below: 
Error in `[.data.frame`(snp_order_temp, snp_chr) : 
  undefined columns selected

Please I need your help
Thanks 

--

Symphorien AGBAHOUNGBA (PhD)

Plant Breeding and Biotechnology, Agricultural Engineer, Natural Resources Management.

Coordinator of LEA/FSA/UAC Cowpea breeding programme, Republic of Benin  

African Plant Breeding Academy (AfPBA),

One Planet Fellowship of AWARD candidate Laureate,

Gender-Responsive Researcher Equipped for Agricultural Transformation (GREAT) fellow,

West African Cowpea Consortium member

Researcher in the Non-Timber Forest Products & Orphan Crop species Unit (NTFP & Orphan Crop) of the Laboratory of Applied Ecology (LEA), Faculty of Agronomic Sciences (FSA), University of Abomey-Calavi (UAC), Republic of Benin.

Email: agbas...@gmail.com /agbahoungb...@gmail.com/agbas...@caes.mak.ac.ug

Mobile: +229 95935657 / +229 97597382

Skype Symphorien Agbahoungba

ORCID ID:
https://orcid.org/0000-0001-8454-7297

http://www.leabenin-fsauac.net/fr/ 

https://www.researchgate.net/profile/Agbahoungba-Symphorien

Reply all
Reply to author
Forward
0 new messages