read_star_aln_metrics.Rd
read_star_aln_metrics
returns a dataframe from STAR Log.final.out files.
read_star_aln_metrics(dir, rgx)
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. |
A dataframe.
This function will read in all the '*Log.final.out' files in the specified directory and returns a dataframe with alignment metrics.