Description Usage Arguments Details Value Author(s) See Also Examples
These functions are used to generate the reads coverage plot around TSS.
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 26 27 28 29 30 31 32 33 34 35 | atacTSSQC(
atacProc,
txdbKnownGene = NULL,
bsgenome = NULL,
reportPrefix = NULL,
bedInput = NULL,
fragLenRange = c(0, 2000),
tssUpdownstream = 1000,
newStepType = "TSSQC",
...
)
## S4 method for signature 'ATACProc'
atacTSSQC(
atacProc,
txdbKnownGene = NULL,
bsgenome = NULL,
reportPrefix = NULL,
bedInput = NULL,
fragLenRange = c(0, 2000),
tssUpdownstream = 1000,
newStepType = "TSSQC",
...
)
tssQC(
bedInput,
txdbKnownGene = NULL,
bsgenome = NULL,
reportPrefix = NULL,
fragLenRange = c(0, 2000),
tssUpdownstream = 1000,
newStepType = "TSSQC",
...
)
|
atacProc |
|
txdbKnownGene |
|
bsgenome |
|
reportPrefix |
|
bedInput |
|
fragLenRange |
|
tssUpdownstream |
|
newStepType |
|
... |
Additional arguments, currently unused. |
The parameter related to input and output file path
will be automatically
obtained from ATACProc-class
object(atacProc
) or
generated based on known parameters
if their values are default(e.g. NULL
).
Otherwise, the generated values will be overwrited.
If you want to use this function independently,
atacProc
should be set NULL
or you can use tssQC
instead.
An invisible ATACProc-class
object scalar for downstream analysis.
Zheng Wei
atacSamToBed
samToBed
atacBedUtils
bedUtils
1 2 3 4 5 6 7 8 9 10 11 12 | library(R.utils)
td <- tempdir()
setTmpDir(td)
bedbzfile <- system.file(package="esATAC", "extdata", "chr20.50000.bed.bz2")
bedfile <- file.path(td,"chr20.50000.bed")
bunzip2(bedbzfile,destname=bedfile,overwrite=TRUE,remove=FALSE)
library(TxDb.Hsapiens.UCSC.hg19.knownGene)
library(BSgenome.Hsapiens.UCSC.hg19)
tssQC(bedfile,TxDb.Hsapiens.UCSC.hg19.knownGene,BSgenome.Hsapiens.UCSC.hg19,fragLenRange=c(180,247))
dir(td)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.