extractCoverageFromTxt {DEploid} | R Documentation |
Extract read counts from tab-delimited text files of a single sample.
extractCoverageFromTxt(refFileName, altFileName)
refFileName |
Path of the reference allele count file. |
altFileName |
Path of the alternative allele count file. |
A data.frame contains four columns: chromosomes, positions, reference allele count, alternative allele count.
The allele count files must be tab-delimited. The allele count files contain three columns: chromosomes, positions and allele count.
refFile = system.file("extdata", "PG0390-C.test.ref", package = "DEploid")
altFile = system.file("extdata", "PG0390-C.test.alt", package = "DEploid")
PG0390 = extractCoverageFromTxt(refFile, altFile)