Open ramiromagno opened 4 years ago
Note to self:
library(tidyverse) library(gwasrapidd) library(GenomicRanges) gwasrapidd::get_associations(variant_id = "rs1800629", efo_trait = "cancer")
works seemingly fine.
On the other hand,
library(tidyverse) library(GenomicRanges) library(gwasrapidd) gwasrapidd::get_associations(variant_id = "rs1800629", efo_trait = "cancer")
result in this error:
> gwasrapidd::get_associations(variant_id = "rs1800629", efo_trait = "cancer") Error in as.vector(x) : no method for coercing this S4 class to a vector
Which is, probably, a symptom of S4 dispatch using the wrong generic.
See this discussion here: https://r.789695.n4.nabble.com/Conflicting-definitions-for-function-redefined-as-S4-generics-td4687570.html.
Note to self:
works seemingly fine.
On the other hand,
result in this error:
Which is, probably, a symptom of S4 dispatch using the wrong generic.
See this discussion here: https://r.789695.n4.nabble.com/Conflicting-definitions-for-function-redefined-as-S4-generics-td4687570.html.