MCorentin / vargen

VarGen is an R package designed to get a list of variants related to a disease. It just need an OMIM morbid ID as input and optionally a list of tissues / gwas traits of interest to complete the results. You can also use your own customised list of genes. VarGen is capable of annotating the variants to help you identify the most impactful ones.
MIT License
14 stars 3 forks source link

VarPhen pipeline - phenotypes #11

Open MCorentin opened 9 months ago

MCorentin commented 9 months ago

Due to a change in biomaRt, _get_phenotypeterms() does not return a list of phenotypes anymore.

obesity_phens <- get_phenotype_terms(keyword = "obesity", snp_mart = snp_mart)

Error in biomaRt::getBM(attributes = c("chr_name", "chrom_start", "refsnp_id", : Values argument contains no data.

However, _get_variants_fromphenotypes() still works if the user knows the list of phenotypes to use as input.