Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#24 Data retrieval vignette update #72

Merged
merged 2 commits into from
Jun 22, 2023

Conversation

cthunes
Copy link
Contributor

@cthunes cthunes commented Jun 20, 2023

Vignette has been updated with new "Assay Annotations" section. Closes #24.

component <- dbGetQuery(con, "SELECTFROM invitrodb.assay_component;")
component <- subset(component, acid %in% source$acid)
endpoint <- dbGetQuery(con, "SELECTFROM invitrodb.assay_component_endpoint;")
endpoint <- endpoint [grepl("ATG", endpoint $assay_component_endpoint_name),]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove space

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

source <- tcplLoadAeid(fld="asid",val=1, add.fld = c("aid", "anm", "acid", "acnm"))
#select annotation and subset by ids or name
assay <- dbGetQuery(con, "SELECT * FROM invitrodb.assay where aid=1;")
component <- dbGetQuery(con, "SELECTFROM invitrodb.assay_component;")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"SELECT * FROM" here and line 155

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@madison-feshuk madison-feshuk self-requested a review June 22, 2023 13:59
Copy link
Collaborator

@madison-feshuk madison-feshuk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@cthunes cthunes merged commit 139acf4 into main Jun 22, 2023
@cthunes cthunes deleted the 24-data-retrieval-vignette-update-annotations-retrieval branch June 22, 2023 21:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Data retrieval vignette update: Annotations retrieval
2 participants