User contributions
25 September 2013
830 - MarkovModel::CountErrors()
Created page with "<source lang="cpp"> double MarkovModel::CountErrors(float * vector, char ** haplotypes, int position, char observed, double e, double freq) { if (observed == 0) re..."
830 - MarkovModel::CountRecombinants()
Created page with "<source lang="cpp"> double MarkovModel::CountRecombinants(float * from, float * to, double r) { if (r == 0) return 0.0; double sum = 0.0; for (int i = 0; i ..."
Biostatistics 830 - Code Snippets
Code Snippets
+135
830 - MarkovModel::Impute()
Created page with "<source lang="cpp"> void MarkovModel::Impute(char * major, char * observed, float * probs, char ** haplotypes, float ** freqs, int position) { d..."
Biostatistics 830 - Code Snippets
Code Snippets
+33
830 - MarkovModel::WalkRight()
Created page with "<source lang="cpp"> void MarkovModel::WalkRight(char * major, char * observed, char ** haplotypes, float ** freqs) { float * swap; float * vector = new float [states]..."
Biostatistics 830 - Code Snippets
Code Snippets
+36
830 - MarkovModel::WalkLeft()
Created page with "<source lang="cpp"> void MarkovModel::WalkLeft(char * observed, char ** haplotypes, float ** freqs) { // Initialize likelihoods at first position for (int i = 0; i < ..."
Biostatistics 830 - Code Snippets
Code Snippets
+35
830 - MarkovModel::Condition()
no edit summary
-36
830 - MarkovModel::Condition()
Created page with "<source lang="cpp"> void MarkovModel::Condition(float * vector, char ** haplotypes, int position, char observed, double e, double freq) { if ..."
Biostatistics 830 - Code Snippets
Code Snippets
+1
Biostatistics 830 - Code Snippets
Code Snippets
+35
830 - MarkovModel::Transpose()
no edit summary
-202
830 - MarkovModel::Transpose()
Created page with "<source lang="cpp"> void MarkovModel::Transpose(float * from, float * to, double r) { if (r == 0) for (int i = 0; i < states; i++) to[i] = from[i]; els..."
Biostatistics 830 - Code Snippets
Code Snippets
+2
Biostatistics 830 - Code Snippets
Howie et al (2012) Nat Genet
+34
Biostatistics 830: Main Page
Scheduling
+72
File:Question Sheet - Li et al (2010) Gen Epid.pdf
no edit summary
Biostatistics 830: Main Page
Class Worksheets
+81
File:Question Sheet - Howie et al (2012) Nat Genet.pdf
no edit summary
Biostatistics 830: Main Page
Scheduling
+174
File:Question Sheet - Browing and Browning (2012) Am J Hum Genet.pdf
no edit summary
Biostatistics 830 - Code Snippets
Howie et al (2012) Nat Genet
+208
Biostatistics 830: Main Page
Required Reading
+54
Biostatistics 830 - Code Snippets
Li et al (2010) Genet Epidemiol
+82
Biostatistics 830: Main Page
Scheduling
+1,613
13 September 2013
830 - Haplotyper::RandomSetup()
no edit summary
-163
Biostatistics 830: Main Page
Required Reading
+16
830 - Haplotyper::ImputeGenotypes()
no edit summary
-1
830 - Haplotyper::ImputeGenotypes()
Created page with "</source lang="cpp"> void Haplotyper::ImputeGenotypes() { RewindMemoryPool(); // Process the last position RetrieveMemoryBlock(markers - 1); ImputeGenotypes(le..."
Biostatistics 830 - Code Snippets
Code Snippets
+41
830 - Haplotyper::ScoreLeftConditional()
no edit summary
+31
830 - Haplotyper::ScoreLeftConditional()
Created page with "void Haplotyper::ScoreLeftConditional() { ResetMemoryPool(); GetMemoryBlock(0); SetupPrior(leftMatrices[0]); ConditionOnData(leftMatrices[0], 0, current_genoty..."
Biostatistics 830 - Code Snippets
Code Snippets
+46
830 - Haplotyper::ConditionOnData()
no edit summary
830 - Haplotyper::ConditionOnData()
Created page with "<source code="cpp"> void Haplotyper::ConditionOnData(float * matrix, int marker, char genotype) { // We treat missing genotypes as uninformative about the mosaic's //..."
830 - Haplotyper::SetupPrior()
no edit summary
830 - Haplotyper::SetupPrior()
Created page with "<source code="cpp"> void Haplotyper::SetupPrior(float * matrix) { float prior = 1.0 / (states * states); for (int i = 0; i < states; i++) { for (int j = ..."
Biostatistics 830 - Code Snippets
Code Snippets
+77
830 - Haplotyper::Transpose()
Created page with "<source lang="cpp"> void Haplotyper::Transpose(float * source, float * dest, float theta) { // *source and *dest store a vector with likelihood information for each pos..."
Biostatistics 830 - Code Snippets
Code Snippets
+1
Biostatistics 830 - Code Snippets
Code Snippets
+34
830 - Haplotyper::RandomSetup()
no edit summary
+91
830 - Haplotyper::RandomSetup()
Created page with "<source lang="cpp"> void Haplotyper::RandomSetup(Random * rand) { // access two arrays... // genotypes[i][j] includes genotypes for each individual // i..."
Biostatistics 830 - Code Snippets
Code Snippets
+37
Biostatistics 830 - Code Snippets
Created page with "== Li et al (2010) Genet Epidemiol == === Full Citation === Li Y, Willer CJ, Ding J, Scheet P, Abecasis GR (2010) MaCH: using sequence and genotype data to estimate haplotyp..."
Biostatistics 830: Main Page
Required Reading
+16
Biostatistics 830: Main Page
Required Reading
+22