Description Usage Arguments Value
View source: R/smoking_analysis.R
Replicate smoking analysis of Liu et al. and Hannum et al. datasets
1 2 3 4 5 6 7 8 | smoking_analysis(
hannum_smk_status_path,
data_dir,
results_dir,
plot_dir,
plot_type = "tiff",
n.sites = NULL
)
|
hannum_smk_status_path |
Path to CSV containing GSM IDs as rownames and a column titled
|
data_dir |
Directory to save Liu and Hannum data for analysis |
results_dir |
Directory to save results |
plot_dir |
Directory to save plots |
plot_type |
Extension for saving plot graphics, such as pdf or png |
n.sites |
Number of sites to subset from each subset for quick execution (for testing) |
A list of results. Slot results
contains a list of p-values generated by each method.
Slot plot
contains plot of results.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.