get_entity | R Documentation |
Query an entity and return the resulting dataframe, optionally including info fields
get_entity(
con,
pkg_schema,
entitynm,
aop = F,
include_info_array = F,
join_info_array = T,
query_attributes = NULL,
semi_join_args = NULL,
...
)
aop |
if TRUE, return the arrayop object instead of the data frame. Only possible if not returning an info array |
include_info_array |
if TRUE, also query the info array for the entity if one exists |
join_info_array |
if TRUE and using |
query_attributes |
if TRUE, filtering/joining on attributes of main array. Inferred automatically is using |
semi_join_args |
an ordered list of things to semi_join the queried array by. |
... |
If |
## Not run:
gs_query = revealcore:::get_entity(con, revealgenomics:::.ghEnv, "GENE_SYMBOL", gene_symbol=c("BRCA1","BRCA2"), aop = T)
revealcore:::get_entity(con, revealgenomics:::.ghEnv, "FEATURE", semi_join_args=list(data.frame("featureset_id"=1:10), gs_query), include_info_array=T, query_attributes=F)
revealcore:::get_entity(con, revealgenomics:::.ghEnv, "FEATURE", semi_join_args=list(data.frame("featureset_id"=1:10), gs_query, data.frame("feature_type"="gene")), include_info_array=T, query_attributes=T, join_info_array=F)
revealcore:::get_entity(con, revealgenomics:::.ghEnv, "FEATURE", semi_join_args=list(data.frame("featureset_id"=1:10), gs_query, data.frame("feature_type"="gene")), include_info_array=T, query_attributes=T, join_info_array=T)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.