Description Usage Arguments Value Author(s) See Also Examples
Method getASB
getASB identifies allele-specific binding events using a bayesian framework.
1 2 3 4 5 6 |
.Object |
An object of the |
Iter |
Maximum number of iterations (default 5000). |
conf_level |
Confidence interval in the estimated allelic ratio (default 0.95). |
cores |
number of cores for parallel computing (default is 4). |
RMcorrection |
Logical value indicating if reference mapping (RM) bias should be applied (default TRUE). If FALSE will not correct for reference allele mapping bias. If TRUE will estimate the RM bias from the overall reference allele proportion. |
RAFcorrection |
Logical value indicating if relative allele frequency (RAF) bias correction should be applied (default TRUE). If TRUE will read RAF values for each variant from |
verbose |
logical. If TRUE reports extra information on the process |
An updated BaalChIP
object with the slot ASB
containing variants identified as allele-specific.
Wei Liu, Ke Yuan, Ines de Santiago
1 2 3 4 5 6 7 8 9 10 11 12 13 | setwd(system.file('test',package='BaalChIP'))
samplesheet <- 'exampleChIP.tsv'
hets <- c('MCF7'='MCF7_hetSNP.txt', 'GM12891'='GM12891_hetSNP.txt')
res <- BaalChIP(samplesheet=samplesheet, hets=hets)
res <- alleleCounts(res, min_base_quality=10, min_mapq=15)
res <- mergePerGroup(res)
res <- getASB(res, cores=2)
#summary - number of significant ASB variants
summaryASB(res)
#report result
res <- BaalChIP.report(res)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.