View source: R/pipeline_functions.R
load.exp.RNASeq.demo | R Documentation |
load.exp.RNASeq.demo
is a function to read in RNA-Seq results and convert it to eSet/DESeqDataSet
class object.
load.exp.RNASeq.demo(
files,
type = "salmon",
tx2gene = NULL,
use_phenotype_info = NULL,
use_sample_col = NULL,
use_design_col = NULL,
return_type = "tpm",
merge_level = "gene"
)
files |
a vector of characters, the filenames for the transcript-level abundances. It will be passed to |
type |
character, the type of software used to generate the abundances. It will be passed to |
tx2gene |
data.frame or NULL, this parameter will be passed to |
use_phenotype_info |
data.frame, the data frame contains phenotype information. It must have the columns |
use_sample_col |
character, the column name, indicating which column in |
use_design_col |
character, the column name, indicating which column in |
return_type |
character, the class of the return object.
"txi" is the output of |
merge_level |
character, users can choose between "gene" and "transcript". "gene", the original salmon results will be mapped to the transcriptome and the expression matrix will be merged to the gene level. This only works when using e.g. "gencode.vXX.transcripts.fa" from GENCODE as the reference. |
This function helps users to read in RNA-Seq results from various sources. Due to the complicated manipulations (e.g. reference sequence) in processing RNA-Seq, this demo function may not be suitable for all scenarios.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.