Learn R Programming

Rrepest (version 1.5.4)

coverage_daggers: Dagger or double dagger according to coverage level

Description

Transform coverage columns in Rrepest to dagger and double dagger according to the coverage (cvge) column. Default levels are 75 (dagger) and 50 (double dagger). If coverage is above both levels, no symbol is produced (empty). Used with the coverage o option in Rrepest set to TRUE to produce columns with coverage percentages.

Usage

coverage_daggers(res_df, one_dagger = 75, two_dagger = 50)

Value

Dataframe with daggers or double daggers in coverage column

Arguments

res_df

(data frame) Rrepest output with columns for coverage (cvge)

one_dagger

(numeric) Level at which the coverage is transformed into a dagger. 75 by default.

two_dagger

(numeric) Level at which the coverage is transformed into a double dagger. 50 by default

Examples

Run this code
coverage_daggers(talis18_tt3g23o_freq, one_dagger = 95, two_dagger = 90)

Run the code above in your browser using DataLab