View source: R/mf.survggplot_res.R
Survival analysis on specified SNPs as arguments
1 2 3 4 5 6 7 8 |
data |
A data.frame-class object with column of SNPs |
SNPs |
A character vector of SNPs to be included as covariates of Cox PH surv model. |
gt |
A list of character vectors to specify genotypes of the SNPs. Each vector for each SNP. The order of the vectors should be co with those of argument 'SNPs'. |
surv |
A charactor vector to specify the colnames of time and status arguments to survival::Surv(). |
cov |
A character vector to specify column for covariate. |
ge_levels |
A list of character vectors to specify the levels of the genotypes, e.g., c('AA', 'AG', 'GG') or c(0, 1, 2) or c(0, 0, 1). |
first |
Logical. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.