Description Usage Arguments Value Examples
Gets the adjusted variable plot for mtDNA vs transcripts for people who remain after filtering
1 2 3 | examine_symbol(lm_data, symbol, gene_key, omit.outlier = T,
correct_for = "as.factor(lm_data$SEX) + as.numeric(lm_data$AGE) + as.numeric(lm_data$RACE) +\n lm_data$PC1 + lm_data$PC2 + lm_data$PC3 + lm_data$PC4 + lm_data$PC5 + lm_data$PC6 + lm_data$PC7 + lm_data$PC8 + lm_data$PC9 + lm_data$PC10 + lm_data$Genotyping.PC1 + lm_data$Genotyping.PC2 + lm_data$Genotyping.PC3",
col = NA)
|
lm_data |
lm_full you want to examine the transcript in |
symbol |
a string with the gene symbol you want to look at |
gene_key |
a gene key with symbol -> transcript information (tpms_gene_key.rds) |
omit.outlier |
T/F whether you want to omit outliers > 3SD away from the mean |
correct_for |
a string that says what you need to correct transcripts for |
col |
A string, what you want to color the adjusted variable plot with |
Transcripts for those individuals
1 | examine_symbol(blood_full, 'POLG', omit.outlier = T, correct_for = 'as.factor(lm_data$SEX)', col = 'esoph_day')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.