-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
98 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
#' Calculate Ieqtls | ||
#' | ||
#'Calculate your own Cell Specific eQTLs. | ||
#' | ||
#'- This service calculates the gene-variant association for any given pair of gene and variant, which may or may not be significant. | ||
#'- This requires as input a GENCODE ID, GTEx variant ID, and tissue site detail ID. | ||
#'By default, the calculation is based on the latest GTEx release. | ||
#' | ||
#' @inheritParams gtexr_arguments | ||
#' | ||
#' @return A tibble. | ||
#' @export | ||
#' @family Dynamic Association Endpoints | ||
#' | ||
#' @examples | ||
#' \dontrun{ | ||
#' # perform request | ||
#' calculate_eqtls(cellType = "Adipocytes", tissueSiteDetailId = "Whole_Blood", | ||
#' gencodeId = "ENSG00000203782.5", | ||
#' variantId = "rs79641866") | ||
#'} | ||
calculate_ieqtls <- | ||
function(cellType, | ||
tissueSiteDetailId, | ||
gencodeId, | ||
variantId, | ||
datasetId = "gtex_v8") { | ||
gtex_query(endpoint = "association/dynieqtl") | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.