Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/getExpression.R
Estimate expression of transcripts. Starting from alignment and reference files function function handles the entire process of expression analysis resulting in transcript expression means and standard deviation together with file containing all the expression samples.
1 2 |
alignFile |
File containing read alignments. |
trSeqFile |
File containing transcript sequence in FASTA format. |
outPrefix |
Prefix for the output files. Otherwise program creates temporary files, which are only valid for current R session. |
uniform |
Use uniform read distribution. |
type |
Output type, possible values: |
log |
Report mean and expression of logged expression samples. |
limitA |
Limit maximum number of alignments per read. Reads with more alignments than limit will be discarded. |
seed |
Sets the initial random seed for repeatable experiments. |
pretend |
Do not execute, only print out command line calls for the C++ version of the program. |
... |
Other arguments are passed to |
This function uses parseAlignment
function to compute alignment probabilities and the function estimateExpression
to produce the expression samples.
In case of non-uniform read distribution, it first produces approximate estimates of expression using uniform read distribution with VB inference and subsequently uses these estimates to compute read distribution bias-corrected alignment probabilities, which are used in the estimateExpression
function to produce expression estimates.
The order of transcripts in the results is always the same as in the alignment file. The transcripts can be identified by names stored in the trInfo
part of the result.
list
with items:
exp |
|
fn |
name of the file containing all the expression samples |
counts |
vector of estimated read counts per transcript |
trInfo |
|
Peter Glaus
getDE
, estimateExpression
, parseAlignment
1 2 3 4 5 | ## Not run:
res1 <- getExpression("data-c0b0.sam","ensSelect1.fasta", MCMC_chains=2,
MCMC_samplesN=100)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.