R/object.R
add_exp_data_tximport.Rd
A means to add experiment data from Kallisto or Salmon to TiSA objects. The function utilizes DESeq2 to convert transcripts to genes along with a transcript to gene conversion dataframe. DESeq2 creates a dds object, the necessary elements are extracted and stored into a timeseries object instead.
This function, if used, is intended to replace the standard add_experiment_data
function.
add_exp_data_tximport(
time_object,
sample_dta_path,
alt_files,
tx2gene_path,
tx_type,
matrix_name = "raw"
)
A TimeSeries_Object
String which gives the csv path to the sample data
a vector containing the path(s) to the txfile reads files. Each path must contain the associated sample name.
A path to a csv containing a dataframe showing transcript to gene conversion. The format of the dataframe will depend on the kallisto files inputed
A string detailing from what tool the experiment comes from. For example, 'salmon', or 'kallisto'
Name to be give to the matrix. Default is 'raw'
time_object - the updated timeSeries object