View source: R/processBdevMAD.R
processBdevMAD | R Documentation |
Process a MAD file to retrieve the B deviation in a region of interest.
processBdevMAD(
file,
regions,
rsCol,
ChrCol,
PosCol,
LRRCol,
BAFCol,
top,
bot,
trim
)
file |
File path of the MAD file to be processed. |
regions |
Regions of chromosomes X and Y in data.frame. See system.file("extdata", "references") for more info on these regions. |
rsCol |
Column of the MAD file with the name of the SNP. |
ChrCol |
Column of the MAD file with the chromosome information. |
PosCol |
Column of the MAD file with the position information. |
LRRCol |
Column of the MAD file with the Log R Ratio information. |
BAFCol |
Column of the MAD file with the B Allele Frequency information. |
top |
Superior treshold to consider an heterozygous allele. |
bot |
Inferior treshold to consider an heterozygous allele. |
trim |
the fraction (0 to 0.5) of probes to be trimmed when summaryzing LRR. This argument tries to control the effect of having CNVs in the analyzed region. Default is 0.1. |
A list with the Bdev for the query value.
## Not run:
processBdevMAD(file=file.path, query=rangedDataROI, rsCol=1, chrCol=2, PosCol=3, LRRCol=4)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.