Read a pipeline configuration file and load all result types into a SummarizedExperiment::SummarizedExperiment object. The returned object contains count matrices as assays, tRNA metadata as rowData, and sample metadata as colData.
Usage
create_clover(
config_path,
types = c("charging", "bcerror", "odds_ratios"),
sample_info = NULL,
min_count = 10
)Arguments
- config_path
Path to a pipeline
config.yamlfile.- types
Character vector of result types to load. Valid values:
"charging","bcerror","odds_ratios".- sample_info
An optional data frame with a
sample_idcolumn and additional experimental factor columns (e.g.,condition,replicate). IfNULL, a minimal colData is created from sample names.- min_count
Minimum total count across all samples for a tRNA to be retained in count matrices. Default
10.
Value
A SummarizedExperiment::SummarizedExperiment with:
assay "counts": abundance count matrix (charged + uncharged)
colData: sample metadata
metadata: list with
$config,$charging,$bcerror,$odds_ratios,$fastaas available