Description Usage Arguments Value Examples
Categorize altered peaks as experiment-specific, reference-specific, or shared
1 2 | categAltrePeaks(analysisresults, lfctypespecific = 1.5, lfcshared = 1.2,
pvaltypespecific = 0.01, pvalshared = 0.05)
|
analysisresults |
output of countanalysis() |
lfctypespecific |
log2fold change cutoff (of chromatin accessibility) for type specific TSS-distals/TSS-proximals |
lfcshared |
log2fold change cutoff (of chromatin accessibility) for shared TSS-distals/TSS-proximals |
pvaltypespecific |
p-value cutoff (of chromatin accessibility) for type specific TSS-distals/TSS-proximals |
pvalshared |
p-value cutoff (of chromatin accessibility) for shared TSS-distals/TSS-proximals |
list 1) results of countanalysis, 2) Frequences of sample type specific, shared, and ambiguous regulatory elements
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 | ## Not run:
csvfile <- loadCSVFile("DNaseEncodeExample.csv")
samplePeaks <- loadBedFiles(csvfile)
consensusPeaks <- getConsensusPeaks(samplepeaks = samplePeaks, minreps = 2)
TSSannot <- getTSS()
consensusPeaksAnnotated <- combineAnnotatePeaks(conspeaks = consensusPeaks,
TSS = TSSannot,
merge = TRUE,
regionspecific = TRUE,
distancefromTSSdist = 1500,
distancefromTSSprox = 1000)
consensusPeaksCounts <- getCounts(annotpeaks = consensusPeaksAnnotated,
sampleinfo = csvfile,
reference = 'SAEC',
chrom = 'chr21')
alteredPeaks <- countanalysis(counts = consensusPeaksCounts,
pval = 0.01,
lfcvalue = 1)
alteredPeaksCategorized <- categAltrePeaks(analysisresults = alteredPeaks,
lfctypespecific = 1.5,
lfcshared = 1.2,
pvaltypespecific = 0.01,
pvalshared = 0.05)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.