sim1000G1.40 package

Genotype Simulations for Rare or Common Variants Using Haplotypes from 1000 Genomes

crossoverCDFvector

Contains recombination model information.

downloadGeneticMap

Downloads a genetic map for a particular chromosome under GRCh37 coord...

computePairIBD1

Computes pairwise IBD1 for a specific pair of individuals. See functio...

computePairIBD12

Computes pairwise IBD1/2 for a specific pair of individuals

computePairIBD2

Computes pairwise IBD2 for a specific pair of individuals

createVCF

Creates a regional vcf file using bcftools to extract a region from 10...

generateChromosomeRecombinationPositions

Generates a recombination vector arising from one meiotic event. The o...

generateFakeWholeGenomeGeneticMap

Generates a fake genetic map that spans the whole genome.

generateRecombinationDistances

Generate inter-recombination distances using a chi-square model. Note ...

generateRecombinationDistances_noInterference

Generate recombination distances using a no-interference model.

generateSingleRecombinationVector

Genetates a recombination vector arising from one meiotic event. The o...

generateUniformGeneticMap

Generates a uniform genetic map.

generateUnrelatedIndividuals

Generates variant data for n unrelated individuals

geneticMap

Holds the genetic map information that is used for simulations.

getCMfromBP

Converts centimorgan position to base-pair. Return a list of centimorg...

loadSimulation

Load some previously saved simulation data by function saveSimulation

newFamily3generations

Generates genotype data for a family of 3 generations

newFamilyWithOffspring

Simulates genotypes for 1 family with n offspring

newNuclearFamily

Simulates genotypes for 1 family with 1 offspring

pkg.opts

Holds general package options

plotRegionalGeneticMap

Generates a plot of the genetic map for a specified region.

printMatrix

Utility function that prints a matrix. Useful for IBD12 matrices.

readGeneticMap

Reads a genetic map downloaded from the function downloadGeneticMap or...

readGeneticMapFromFile

Reads a genetic map to be used for simulations. The genetic map should...

readVCF

Read a vcf file, with options to filter out low or high frequency mark...

resetSimulation

Removes all individuals that have been simulated and resets the simula...

retrieveGenotypes

Retrieve a matrix of simulated genotypes for a specific set of individ...

saveSimulation

Save the data for a simulation for later use. When simulating multiple...

setRecombinationModel

Set recombination model to either poisson (no interference) or chi-squ...

SIM

Holds data necessary for a simulation.

sim1000G-package

Simulations of rare/common variants using haplotype data from 1000 gen...

startSimulation

Starts and initializes the data structures required for a simulation. ...

subsetVCF

Generate a market subset of a vcf file

writePED

Writes a plink compatible PED/MAP file from the simulated genotypes

Generates realistic simulated genetic data in families or unrelated individuals.

  • Maintainer: Apostolos Dimitromanolakis
  • License: GPL (>= 2)
  • Last published: 2019-06-09