Description Usage Arguments Details Value References See Also Examples
Calculate splicing Scores from ballgown object for a given gene.
This function can only calculate one gene. Please use function
spliceGenome
to obtain genome-wide splicing scores.
1 2 | spliceGene(bg, gene, samples = sampleNames(bg), junc.type = c("score", "count"),
trans.select = "rowMaxs(x)>=1", junc.select = "rowMaxs(x)>=5")
|
bg |
ballgown object |
gene |
a character string specifying gene id |
samples |
names of samples |
junc.type |
type of junction estimate ('score' for junction score; 'count' for junction read count) |
trans.select |
logical expression-like string, indicating transcript rows to select from a matrix of transcript coverages: NA value keeps all transcripts. e.g. use trans.select='rowMaxs(x)>=1' to filter the transcrpts with the maximium coverage among all the samples less than 1. |
junc.select |
logical expression-like string, indicating junction rows to select from a matrix of junction counts: NA value keeps all junctions. e.g. use junc.select='rowMaxs(x)>=5' to filter the junctions with the maximium read count among all the samples less than 5. |
score = junction count/gene-level per base read coverage.
Row functions for matrices are useful to select transcripts and junctions.
See matrixStats
package.
a matrix of junction scores with intron rows and sample columns.
Yu, H., Du, Q., Campbell, M., Yu, B., Walia, H. and Zhang, C. (2021), Genome‐wide discovery of natural variation in pre‐mRNA splicing and prioritising causal alternative splicing to salt stress response in rice. New Phytol. https://doi.org/10.1111/nph.17189
spliceGenome
, which calculates splicing scores in
whole genome.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.