Parallelized Gibbs Sampler for DPGMM Model

cluster_sums | Compute sums for groups |

compute_weights | Get component weights for all genes |

construct_precision_mat | Construct precision matrix for full conditional distribution... |

dot_prod | dot product of two vectors |

dpgmm | Do MCMC for dpgmm model |

dpgmm_init | Run MCMC for DPGMMM model, utilizing pilot chain |

dpOMP-package | Perform MCMC for dpgmm model |

draw_pi | draw a simplex conditioned on current cluster allocations |

draw_theta | Draw from full conditional for beta, sigma2 conditioning on... |

draw_z | Draw z for all genes given the computed weights |

dsymv | BLAS implemented dsymv routine |

generate_data | generates a data set from the model |

get_k_indices | Return indicator that gene G is in cluster k |

get_tail_sums | Get tail sums of a real-valued vector |

increment_IGscale | Calculate cluster contribution to IG scale paramter of full... |

linear_comb_vec | BLAS implemented daxpy routine |

norm_exp_lp | Subtract max element and exponentiate lp vector |

n_squares | Return first n square numbers |

pi_prime | Update component weight for given data |

quad_form | Computes xTAx using BLAS routines dsymv and ddot (through... |

rcategorical | Get a multinomial draw given specified weights |

rinvgamma | Draw random inverse gamma variates |

solve_normaleq_symm_mat | Solves Ax = b, replacing input b with solution and A with... |

transpose | transpose a matrix |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.