5 Data Transform

➡️ This section allow you to convert your SNP data in data.frame into genind and genlight.

Required Dataset (one of the following):
  • Input VCF Data (data.frame file) from the Data Input page.

  • Post-QC Data (data.frame file) from the Data QC page.

Step 1: Transform data.frame to genind

Click the Transform to genind button. This will generate the genind file.

Note: After obtaining the clustering results from the Population Structure/DAPC subpage, you can add Group Info. to the genind file by inputting the ‘DAPC_Group_Info.csv’. This step is necessary for analyses like ‘Genetic Distance’ and ‘AMOVA’.

Step 2: Transform genind to genlight

Click the Transform to genlight button. This will generate the genlight file.

Outputs:
  • genind (RDS): genind file. It’s necessary for downstream analyses, please download and save it!

  • genlight (RDS): genlight file. It’s necessary for downstream analyses, please download and save it!

Note: Please download and save your data.frame, genind, and genlight files after transformation. This will save you from having to input the large VCF file again next time.

Data Transformation Complete!