Description Usage Arguments Details Value Author(s) References See Also
This function is a wrapper for the function count_table_prep_multinom
that prepares the mutation data for multinomial (and binomial) regression. This wrapper was used in our analysis in Bertl et al. (2007) (see References).
1 2 | wrapper_multinom_dataprep(cv, m, impute, datafolder, datafile, impfolder,
data_source)
|
cv |
integer. Which cross-validation piece should be handled? |
m |
integer. Number of multiple imputation replicates. 0 means no imputation. |
impute |
logical. Impute missing values or remove them? |
datafolder |
character. The data is read from the file |
datafile |
character. |
impfolder |
character. Folder where the imputed data should be saved. |
data_source |
character. Either "fredriksson" or "pcawg". |
The scripts that were used to run this function and that show all settings used in Bertl et al. (2007) are available in this package in the folder inst/Bertl_et_al_2017
. The pre-processed data can be downloaded from figshare.
There is no return value. The reformatted and imputed data is saved along with the number of missing values and total mutation count.
Johanna Bertl
Bertl, J.; Guo, Q.; Rasmussen, M. J.; Besenbacher, S; Nielsen, M. M.; Hornshøj, H.; Pedersen, J. S. & Hobolth, A. A Site Specific Model And Analysis Of The Neutral Somatic Mutation Rate In Whole-Genome Cancer Data. bioRxiv, 2017. doi: https://doi.org/10.1101/122879 http://www.biorxiv.org/content/early/2017/06/21/122879
count_table_prep_multinom
, cancermutations
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.