git-svn-id: https://hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/rqt@127042 bc3139a8-67e5-0310-9ffc-ced21a209358
1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,42 @@ |
1 |
+ |
|
2 |
+#' This function performs a gene-level test based on combined effect sizes. |
|
3 |
+#' |
|
4 |
+#' @param obj Object of class \code{rqt} |
|
5 |
+#' @param ... Additional parameters to pass to the function |
|
6 |
+#' @return Updated rqt object with result slot |
|
7 |
+#' @docType methods |
|
8 |
+#' @rdname rqt-geneTest |
|
9 |
+setGeneric("geneTest", function(obj, ...) standardGeneric("geneTest")) |
|
10 |
+ |
|
11 |
+#' This function performs a gene-level meta-analysis based on |
|
12 |
+#' combined effect sizes. |
|
13 |
+#' |
|
14 |
+#' @param objects List of objects of class rqt |
|
15 |
+#' @param ... Additional parameters to pass to the function |
|
16 |
+#' @return A list of two: (i) final.pvalue - |
|
17 |
+#' a final p-value across all studies; |
|
18 |
+#' (ii) pvalueList - p-values for each study; |
|
19 |
+#' @docType methods |
|
20 |
+#' @rdname rqt-geneTestMeta |
|
21 |
+setGeneric("geneTestMeta", function(objects, ...) standardGeneric("geneTestMeta")) |
|
22 |
+ |
|
23 |
+#' This function performs an access to phenotype |
|
24 |
+#' |
|
25 |
+#' @rdname rqt-phenotype |
|
26 |
+setGeneric("phenotype", function(obj) standardGeneric("phenotype")) |
|
27 |
+ |
|
28 |
+#' This function performs an access to genotype. |
|
29 |
+#' |
|
30 |
+#' @rdname rqt-genotype |
|
31 |
+setGeneric("genotype", function(obj) standardGeneric("genotype")) |
|
32 |
+ |
|
33 |
+#' This function performs an access to covariates |
|
34 |
+#' |
|
35 |
+#' @rdname rqt-covariates |
|
36 |
+setGeneric("covariates", function(obj) standardGeneric("covariates")) |
|
37 |
+ |
|
38 |
+#' This function performs an access to covariates |
|
39 |
+#' |
|
40 |
+#' @rdname rqt-results |
|
41 |
+setGeneric("results", function(obj) standardGeneric("results")) |
|
42 |
+setGeneric("results<-", function(obj, value) standardGeneric("results<-")) |
|
0 | 43 |
\ No newline at end of file |