RATs v0.6.0 (R source package)
Changes in v0.6.0
- Support for input directly from
sleuth
objects has been removed. ( #33 ) This is due to changes insleuth 0.29
that result in the bootstrap data no longer been available. An alternative has already been in place viafish4rodents()
which allows input of bootstrap data directly from the Kallisto/Salmon quantifications. - The
rrep_as_crit
parameter has been removed. the same effect can be achieved more transparently by settingrrep_thresh
to 0.
Bugfixes
- An off-by-one error in the reporting functions for isoform switch events has been fixed. ( #34 )
- Out of date function docs have been fixed.
Changes in v0.5.0
Despite drafting the release of 0.5.0
, I realised too late that I never actually packaged up and published it. Several important changes were made in it and they still apply to 0.6.0
, so I'm including them here.
New features
- The
$Transcripts
table records absolute fold-change per transcript (log2FC
). How meaningful that is will depend on whether your input abundances are normalised across replicates or not. RATs currently does not normalise across replicates (except for data imported viafish4rodents()
, see below), because proportions are by definition already normalised for size. - A new overview plot maps the fold-change against the difference in proportion (
"fcVSdprop"
). Same caveat as above. - Directly import from Salmon/Kallisto output using
fish4rodents()
. This saves a little time and a lot of memory, compared to importing via Sleuth. - The volcano plot can now also be done for genes, instead of only for transcripts.
- In overview plots, DTU-positive points are always layered over the DTU-negative points, ensuring none are hidden.
- The histogram of effect sizes can now be made for both transcripts and genes.
- A
scaling
factor for abundances is introduced. This could be useful when running RATs with TPM or similar normalised abundances, as 1 million transcripts is a gross under-estimation of the library size. Scaling the TPM accordingly would improve statistical power of RATS. Misuse ofscaling
will artificially inflate or deflate the significance of the observed differences!
Other improvements
- Styling tweaks to gene and overview plots to reduce clutter and improve encoding consistency.
- The summary reports are now presented as data.frames instead of named vectors. This makes them much more legible.
- The replicate lines in the gene plot are now slightly offset, to avoid becoming hidden by one another when the measurements are very similar.
- The interactive volcano plot now plots genes instead of transcripts. Hovering will provide brief info on the gene(s) under(/near) the pointer, clicking will pull up all the relevant information from the
$Genes
and$Transcripts
tables for that gene and produce the relevant gene plot. - The histogram of gene effect sizes now segregates positive and negative changes rather than showing the absolute values.
- General documentation improvements.
- Un-complicate parts of the code.
- Bootstrapping the replicates previously used a single sample from each condition "as is". This was not relatable to comparing one set of replicates against another and generally was extremely conservative and unhelpful. In this version, this alleviated by scaling the chosen samples by the number of samples per condition.
Bugfixes
- Restored table of contents for the vignettes.
- In the summaries, NA genes for transcript-level and both-levels tallies are now reported correctly instead of being always 0.
- Fixed some hard-coded field names that could cause failure with non-standard input field names.
- Better protection against entries in the annotation and abundances being in incompatible orders.
Other changes
- Optional dependency added for
wasabi
. Needed when importing data from Salmon. - Plot improvements require
ggplot2
version >= 2.2.0. - The use of multi-threading by-default by
data.table
, means that RATs now requires version >= 1.9.8 in order to prevent mismanagement of resources.