TheWangLab / algatr

A Landscape Genomic Analysis Toolkit in R
https://thewanglab.github.io/algatr/
MIT License
10 stars 1 forks source link

How to prepare the input file: CA_env ? #68

Closed yangwukaidi closed 1 week ago

yangwukaidi commented 2 weeks ago

I'd like to try to use this tool. But I don't quite understand how to prepare for the input file (CA_env). Can you help me? Thanks.

eachambers commented 2 weeks ago

Thanks for reaching out. The CA_env object is the top three PCs resulting from performing a raster PC on 19 bioclimatic variables (obtained from the World Clim database) across the state of California. This is described here.

The environmental data processing vignette (available here) walks through the steps required to perform a raster PCA; specifically, take a look at how we've generated the env_pcs object in this vignette. Let me know if you have any further questions.

Thanks, Anne