Description Usage Arguments Value Examples
View source: R/methylationAnalysis_Step1.r
Mapping nick label location from contig to molecule
1 | molNickLoc(nickrefLoc, molcmap, xmapdata, contigID, cntNick, cntMeth)
|
nickrefLoc |
character. Path to Bionano compressed file. |
molcmap |
character. molecule cmap data. |
xmapdata |
character. contig-molecule xmap data. |
contigID |
character. query contig ID. |
cntNick |
integer. Nick label value. |
cntMeth |
integer. Meth label value. |
dataframe containing the molecule file, with the nick position
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | refcontigXmap <- system.file("extdata", "Cmapdir/output/contigs/exp_refineFinal1_sv/merged_smaps/ContigRef.xmap", package="methometR")
refCmap <- system.file("extdata", "Cmapdir/output/contigs/exp_refineFinal1_sv/merged_smaps/hg19ref_r.cmap", package="methometR")
Contigqcmap <- system.file("extdata", "Cmapdir/output/contigs/exp_refineFinal1_sv/merged_smaps/SampContig_q.cmap", package="methometR")
refxmapdat <- readingXmap(refcontigXmap)
refcmapdat <- readingCmap(refCmap)
contigcmapdat <- readingCmap(Contigqcmap)
nickRef<-nickReference(refxmap = refxmapdat, refcmap = refcmapdat,
contigcmap = contigcmapdat, contigID = 6701,
returnMethod =c("dataFrame"), chrom = 4)
xmap <- system.file("extdata", "Cmapdir/output/contigs/exp_refineFinal1/merged_smaps/SampContigMolecule.xmap", package="methometR")
molcmap <- system.file("extdata", "Cmapdir/output/contigs/exp_refineFinal1/merged_smaps/SampMolecule_q.cmap", package="methometR")
contigcmap <- system.file("extdata", "Cmapdir/output/contigs/exp_refineFinal1/merged_smaps/SampContig_r.cmap", package="methometR")
contigID = 6701; cntNick = 1; cntMeth=2
modxmap <- readingXmap(xmap)
cmap <- system.file("extdata", "Cmapdir/output/contigs/exp_refineFinal1/merged_smaps/SampMolecule_q.cmap", package="methometR")
modcmap <- readingCmap(cmap)
modMolcmap <- modmolcmap(molcmap = modcmap,
xmapdata = modxmap,
cntNick = 1,
cntMeth=2)
contigmodcmap <- readingXmap(contigcmap)
modmolcmapNick <-molNickLoc(nickrefLoc = nickRef,
molcmap = modMolcmap,
xmapdata = modxmap,
contigID = contigID, cntNick = cntNick,
cntMeth = cntMeth)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.