read_star_aln_metrics returns a dataframe from STAR Log.final.out files.

read_star_aln_metrics(dir, rgx)

Arguments

dir

A character scalar indicating the directory containing all the STAR Log.final.out files.

rgx

A character scalar representing a regex used to parse out the sample name from the name of the Log.final.out files.

Value

A dataframe.

Details

This function will read in all the '*Log.final.out' files in the specified directory and returns a dataframe with alignment metrics.