
Write copy of nprcgenekeepr::examplePedigree into a file
Source:R/makeExamplePedigreeFile.R
makeExamplePedigreeFile.RdUses examplePedigree data structure to create an example data file.
Files of type "csv" and "txt" are silently overwritten if
they already exist. A file of type "excel" is never overwritten;
if the file already exists, an error is signaled.
Arguments
- file
character vector of length one providing the file name. The default file, in the session's temporary directory, is
examplePedigree.csv,examplePedigree.txtorexamplePedigree.xlsx, according tofileType.- fileType
character vector of length one with possible values of
"txt","csv", or"excel". Default value is"csv".
Examples
library(nprcgenekeepr)
pedigreeFile <- makeExamplePedigreeFile()