Set base project
-
The following code will pop up a Rmd template and then clicking ‘save’ will populate that folder with HCBC data structure guidelines
-
-rmarkdown::draft("project_folder",template="common",package="bcbioR")
-
As well, You can get this by going to File -> New File -> R markdown: - then From Template
, and choose bcbio base
- choose the folder to deploy files, it could be a new folder or an existing one
+
use setwd()
to set your current directory to the place where you want to work. The bcbioR functions will automatically write to whatever directory you have set.
+
setwd("/path/to/analysis/folder")
+
The following code will pop up a Rmd template will populate that folder with HCBC data structure guidelines
+
bcbio_templates(type="base", outpath="/path/to/analysis/folder")
Set RNAseq report folder
-
This code will populate the folder with HCBC data structure guidelines and Rmd code:
-
+
This code will populate the folder with HCBC data structure guidelines and Rmd code: You do not need to create a reports folder prior to running this code. This will create and populate the reports folder.
+
bcbio_templates(type="rnaseq", outpath="/path/to/analysis/folder/reports")