fish4rodents | R Documentation |
Apply TPM normalisation using the info available from the abundance.h5 files.
fish4rodents( A_paths, B_paths, annot, TARGET_COL = "target_id", PARENT_COL = "parent_id", beartext = FALSE, threads = 1L, scaleto = 1e+06 )
A_paths |
(character) A vector of strings, listing the directory paths to the quantifications for the first condition. One directory per replicate, without trailing path dividers. The directory name should be a unique identifier for the sample. |
B_paths |
(character) A vector of strings, listing the directory paths to the quantifications for the second condition. One directory per replicate, without trailing path dividers.. The directory name should be a unique identifier for the sample. |
annot |
(data.frame) A table matching transcript identifiers to gene identifiers. This should be the same that you used for quantification and that you will use with |
TARGET_COL |
The name of the column for the transcript identifiers in |
PARENT_COL |
The name of the column for the gene identifiers in |
beartext |
(logical) Instead of importing bootstrap data from the |
threads |
(integer) For parallel processing. (Default 1) |
scaleto |
(double) Scaling factor for normalised abundances. (Default 1000000 gives TPM). If a numeric vector is supplied instead, its length must match the total number of samples. The value order should correspond to the samples in group A followed by group B. This allows each sample to be scaled to its own actual library size, allowing higher-throughput samples to carry more weight in deciding DTU. |
Converting, normalising and importing multiple bootstrapped abundance files takes a bit of time. IMPORTANT: This function is currently not intended to be used to import non-bootstrapped quantifications.
A list of two, representing the TPM abundances per condition. These will be formatted in the RATs generic data input format, preferably for bootstrapped estimates (if bootstraps are available) or otherwise for plain count estimates.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.