contigextract: Extracting contig information

Description Usage Arguments Value Examples

View source: R/methylationAnalysis_Step1.r

Description

Extracting contig information

Usage

1
contigextract(contigRefxmap, chrom, startPos, endPos)

Arguments

contigRefxmap

character. Contig xmap data.

chrom

character. Chromosome of interest.

startPos

integer.Start position.

endPos

integer. End position.

Value

dataframe with data extracted from xmap.

Examples

1
2
3
refcontigXmap <- system.file("extdata", "Cmapdir/output/contigs/exp_refineFinal1_sv/merged_smaps/ContigRef.xmap", package="methometR")
modxmap <- readingXmap(refcontigXmap)
extractedInfo<-contigextract(contigRefxmap = modxmap, chrom = 4, startPos = 100000, endPos = 200000)

VilainLab/methometR documentation built on Dec. 18, 2021, 6:17 p.m.