ramiromagno / gwasrapidd

gwasrapidd: an R package to query, download and wrangle GWAS Catalog data
https://rmagno.eu/gwasrapidd/
Other
93 stars 14 forks source link

Make functions that search by either `efo_trait` or `reported_trait` case sensitive again #17

Closed ramiromagno closed 3 years ago

ramiromagno commented 3 years ago

Remove the wrap in tolower() in these cases:

get_studies_by_efo_trait

https://github.com/ramiromagno/gwasrapidd/blob/700c86f7f384fd14b2973aec045a9663b05144b8/R/get_studies.R#L441

get_studies_by_reported_trait

https://github.com/ramiromagno/gwasrapidd/blob/700c86f7f384fd14b2973aec045a9663b05144b8/R/get_studies.R#L491

get_variants_by_efo_trait

https://github.com/ramiromagno/gwasrapidd/blob/700c86f7f384fd14b2973aec045a9663b05144b8/R/get_variants.R#L459

get_variants_by_reported_trait

https://github.com/ramiromagno/gwasrapidd/blob/700c86f7f384fd14b2973aec045a9663b05144b8/R/get_variants.R#L513

get_associations_by_efo_trait

https://github.com/ramiromagno/gwasrapidd/blob/700c86f7f384fd14b2973aec045a9663b05144b8/R/get_associations.R#L295

get_traits_by_efo_trait

https://github.com/ramiromagno/gwasrapidd/blob/700c86f7f384fd14b2973aec045a9663b05144b8/R/get_traits.R#L278