View source: R/05_01_quantification_salmon.R
salmon_quantify | R Documentation |
Quantify expression with salmon
salmon_quantify(
sample_info = NULL,
filtdir = "results/03_filtered_FASTQ",
salmonindex = "results/05_quantification/salmon/idx",
salmondir = "results/05_quantification/salmon",
threads = NULL
)
sample_info |
Data frame of sample metadata created with the
functions |
filtdir |
Path to the directory where filtered reads are stored. Default: results/03_filtered_FASTQ. |
salmonindex |
Directory where the transcriptome index is stored. Default: results/05_quantification/salmon/idx. |
salmondir |
Directory where quantification files will be stored. Default: results/05_quantification/salmon. |
threads |
Number of threads for salmon quant. |
A 2-column data frame with BioSample IDs in the first column and salmon quantification status in the second column, with "OK" if salmon sucessfully quantified expression for a given BioSample, and NA otherwise.
data(sample_info)
filtdir <- system.file("extdata", package = "bears")
salmonindex <- tempdir()
salmondir <- tempdir()
transcriptome_path <- system.file(
"extdata", "Hsapiens_GRCh37.75_subset_transcripts.fa", package="bears"
)
if(salmon_is_installed()) {
salmon_index(salmonindex, transcriptome_path)
salmon_quantify(sample_info, filtdir, salmonindex, salmondir)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.