produce_odysse_format | R Documentation |
The goal of this function is to produce de deliverables in the Odysse format. The characteristics of this format are:
* counts: A single count file for raw counts, TPM and FPKM. The anno is included in the file and each count cell contains the 3 types of counts in the <raw_counts>/<tpm>/<fpkm> format. * de: There is a file produced for each comparison. The results contains the annotations and the extra analysis (mean TPM counts and splicing analysis). There is a distinction between the fold change and the ratio where the ratio is 2^log2FoldChange and the fold change is symetrical (i.e.: ratios smaller than 1 are converted to their negative value).
produce_odysse_format(
res,
outdir,
prefix,
use_ruv = FALSE,
digits = 4,
force = FALSE,
...,
ncores = 1
)
res |
The results obtained from the |
outdir |
The directory where the tables will be saved |
prefix |
The value to add at the beginning of each lines |
use_ruv |
Use RUVg normalization? Needs to be pre-computed using the
|
digits |
Integer indicating the number of decimal places |
force |
Should the files be re-created if they already exists? Default:
|
... |
Extra params for the format_de_results function. |
ncores |
Number of cores to use for de analysis. Default |
In both cases, the results at the transcripts levels are found in the first part of the file and the results at the gene levels are found in the second part of the file.
A vector of kallisto abundance filenames
abundances <- get_demo_abundance_files()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.