Description Usage Arguments Value Examples
Create the interactive html document
1 2 3 4 5 6 7 8 | knit_see_gem(rmd = system.file("rmd/document_template.Rmd", package =
"SeeGEM"), output_file = "SeeGEM_document.html",
output_directory = getwd(),
GEMINI_data = system.file("extdata/GEMINI_data.Rdata", package =
"SeeGEM"), sample_name = NA, title = "SeeGEM Test Report",
peddy_path_prefix = paste0(system.file("extdata/", package = "SeeGEM"),
"/SEE_GEM_PEDDY"), peddy_id = c("1045", "1046", "1265"),
decorate = TRUE, skip_stats = "no")
|
rmd |
Path to a custom R markdown file. A default R markdown file is provided with this package |
output_file |
Output name (I recommend ending in 'html', as this is what the file is) of your output file. |
output_directory |
Directory the output file will be written to. Defaults to your working directory. |
GEMINI_data |
Path to .Rdata data frame which contains the Data Frame
of the GEMINI output that will be plotted. Helper scripts are provided as
|
sample_name |
The name of your sample |
title |
The title of the document |
peddy_path_prefix |
Path and prefix for the peddy output |
peddy_id |
A character vector of the samples you want to highlight in the peddy QC tab |
decorate |
TRUE or FALSE. If set to TRUE (default), then the data frame
given as input 'GEMINI_data' will be decorated with the default settings for
|
skip_stats |
If set to 'yes' this will use an alternate template which has no 'peddy QC' tab. |
None
1 2 3 4 5 6 7 8 9 10 11 12 | ## Not run:
# will output just the example document to ~/SeeGEM_document.html
knit_see_gem()
# more realistic example which does an automsal recessive test
knit_see_gem(GEMINI_data =
gemini_test_wrapper('2018_06_28__OGVFB_exomes.GATK.PED_master.gemini.db',
test = 'autosomal_recessive',
families = 'DDL003'),
output_file='~/quick_SeeGEM.html',
skip_stats = 'yes')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.