Description Usage Arguments Details Author(s) See Also
View source: R/patchwork.createreference.r
Create your own normal reference file for use with patchwork.plot(). This may have advantages over using the standard issue references. It is recommended to use atleast 3 bamfiles to create a reference file.
1 | patchwork.createreference(...,output="REFOUT")
|
... |
The full path and filename to all of the BAM files that you wish to use for creating the reference file. ex patchwork.createreference("file1.bam","file2.bam","file3.bam",etc) |
output |
Default is "REFOUT". This will result in REFOUT.RData being created in your working directory. |
This function will take as its arguments a number of bamfiles that you specify, normalize them according to patchwork.readChroms and patchwork.GCNorm. REFOUT.Rdata, or whichever name you chose, is created in your working directory for further use. This file should then be sent in patchwork.plot to be used as a reference file.
patchwork.plot(bamfile,pileup,reference="path/to/your/REFOUT.Rdata")
Markus Mayrhofer, markus.mayrhofer@medsci.uu.se Sebastian DiLorenzo, sebastian.dilorenzo@medsci.uu.se
patchwork.plot
patchwork.readChroms
patchwork.applyref
patchwork.GCNorm
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.