reconcile_names: Match sample description sheet names to count file names.

Description Usage Arguments Details Value See Also

View source: R/arkady.R

Description

Given a data frame of sample descriptions from the lab team and a data frame from a genes_counts.txt file from a sequencing run, match the sample names and return a data frame of sample descriptions detailing the matching.

Usage

1
reconcile_names(sample_descs, genes_counts)

Arguments

sample_descs

A data frame of sample descriptions. The sampleName column holds the sample names.

genes_counts

A data frame of gene counts. The first column is gene and the rest are sample names.

Details

Name matching is done by first replacing all whitespace and underscores with hyphens and then asserting that the sampleName must a substring of the column name. The matching is done via a pair of columns id_sample_descs and id_genes_counts in the output.

Value

A data frame.

See Also

Other Arkady: check_sample_descs(), collapse_tech_reps(), deseq_contrasts(), deseq_pairs(), deseq_wide(), fgsea_basic(), plot_cond_paired_pearson(), plot_down(), plot_metrics_global(), plot_var_mean_ratio(), prep_gsea_input_gene_set(), prep_gsea_input_lfc(), prep_rd_input()


mirvie/mirmisc documentation built on Dec. 21, 2021, 7 p.m.