cleanup_maf.Rd
Transform input maf columns to allow for usage of dplyr verbs.
cleanup_maf(maf_df)
input MAF data frame.
maf_df with transformed columns
Transform input maf columns to allow for usage of dplyr verbs. Allowing for a stright-forward plotting workflow as well as downstream data aggregation and manipulation. This function expects a set number of columns to exist in the incoming maf in order for this to work. To view the columns, see bundled data; grande_maf.
clean_maf = cleanup_maf(maf_df = grande_maf)
#> Warning: There was 1 warning in `mutate()`.
#> ℹ In argument: `CDS_position = as.numeric(as.character(CDS_position))`.
#> Caused by warning:
#> ! NAs introduced by coercion
#> Warning: There was 1 warning in `mutate()`.
#> ℹ In argument: `cDNA_position = as.numeric(as.character(cDNA_position))`.
#> Caused by warning:
#> ! NAs introduced by coercion
#> Warning: There was 1 warning in `mutate()`.
#> ℹ In argument: `Protein_position = as.numeric(as.character(Protein_position))`.
#> Caused by warning:
#> ! NAs introduced by coercion