Description Usage Arguments Details Value See Also
View source: R/collapseBundles.R
Collapse bundles of transcripts, discard any that represent pointless tests, and optionally prune any whose joined bundle IDs tend to choke downstream packages for e.g. pathway- or network-based enrichment analysis. Note that this function may or may not be optimal for your RNAseq experiment. Please refer to 'Details' for some thought exercises about the nature of 'genes'.
1 2 | collapseBundles(kexp, bundleID = "gene_id", read.cutoff = 1,
discardjoined = TRUE)
|
kexp |
A KallistoExperiment (or something very much like it) |
bundleID |
The column (in mcols(rowRanges(kexp))) of the bundle IDs |
read.cutoff |
Discard transcripts and bundles with < this many counts |
discardjoined |
Discard bundles with IDs "joined" by a ";"? (TRUE) |
This function sums the estimated counts for each transcript within a bundle of transcripts (where "bundle" is a user-defined identifier, often but not always a 'gene', sometimes a biotype or a class of repeat elements). The default approach is to discard all rows where the maximum count is less than the specified read.cutoff. Since the default cutoff is 1, this means discarding transcripts (and bundles) that were not be detected in any sample. (Filtering tends to increase statistical power at given false-positive rate)
a matrix of summarized counts per sample bundle
collapseTranscripts
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.