generate_dummy_data.Rd
Create a dummy data set, with control over the creation.
generate_dummy_data(n = 1000, countries = 4, studies = 3, samples = 50, pos = 20)
n | Number of rows. Default = 1000 |
---|---|
countries | Number of different countries. Default = 4 |
studies | Number of different studies. Default = 3 |
samples | Number of different samples. Default = 50 |
pos | Number of different chromosome positions. Default = 20 |
Invisibly returns a MIP dataset with the following variables:
"Year" Numerics of sample year collect
"Country" String of country of sample collection
"Study" String of study name
"DHS_Cluster" Numeric of DHS cluster
"Lat" Numeric for latitude
"Long" Numeric for longitude
"Sample_ID" String for unique sample ID
"Chrom" Numeric for chromosome number
"Pos" Numeric for chromosome position
"Ref" Reference allele nucleotide
"Alt" Alternative allele nucleotide
"Coverage" Numeric for read coverage
"Barcode_Count" Numeric for count of barcodes matched to Ref
Creates a dummy data set, with more control over how the data set variables are created