Man pages for ollyburren/cupcake
PCA for GWAS

add_ref_annotations'add_ref_annotations' integrate GWAS summary data with...
align_alleles'align_alleles' compute variance weighted euclidean distance...
ambiguous'ambiguous' get ambiguous variants
basis.trait.projBurren sparse basis files
beta.centersBurren sparse basis files
comp'comp' get complement for a set of variants
compute_seb_proj_varanalytically compute the variance of a projection given a...
compute_seb_proj_var_sparseanalytically compute the variance of a projection given a...
compute_shrinkage_metricsThis function computes various shrinkage metrics...
control_prior_shapeThis function computes shape parameters for beta distribution...
cov_betacovariance matrix of betas for an ld block 'cov_beta'
create_basisThis function creates a basis 'create_basis' creates a trait...
create_ds_matrixThis function creates a trait snp matrix 'create_ts_matrix'...
e_lorThis function computes expected log odds ratio for a set of...
est_a1b1This function estimates shape parameters for a prior...
flip_allele'align_allele' given a data.table of pid,a1,a2 get a list of...
foptThis function computes the optimal shape parameter a1 for a...
get_gwas_data'get_gwas_data' integrate GWAS summary data with support...
get_sebAn internal helper function to get obtain standard error of...
LDBurren sparse basis files
logsumhelper function to sum logs without loss of precision...
lor_constraintThis function computes a probability for a given...
lor_fThis function samples from the posterior distribution of a...
lyons_egpaEGPA combined GWAS summary statistics
maf_se_estimateCompute minor allele frequency shrinkage 'maf_se_estimate'...
maf_se_estimate_sample_sizeCompute minor allele frequency shrinkage using sample size...
mvs_permCode to sample multivariate norm 'mvs_perm' sample from a...
mvs_sigmaCode to compute sigma - genotype covariance matrix...
opt_a1b1This function estimates shape parameters for a prior...
p2zconvert p value to a signed Z score 'p2z' p value to a signed...
post_lorThis function samples from the posterior distribution of...
project_basisThis function projects an aligned trait onto the basis...
project_sparseA streamlined function to project a trait onto a sparse basis...
rot.pcaBurren sparse basis files
se_nullThis function computes standard error under the null...
shrinkageBurren sparse basis files
simulate_betasimulate betas for an ld block 'simulate_beta' use the...
simulate_studysimulate betas for a study 'simulate_study' use the...
SNP.manifestBurren sparse basis files
use.pcaBurren sparse basis files
vcf2snpmatrixconvert a vcf file to snpMatrix object 'vcf2snpmatrix'...
wakefield_null_ppcompute reciprocal posterior probabilities using Wakefield's...
wakefield_ppcompute posterior probabilities using Wakefield's approximate...
ws_shrinkageThis function computes an alternative to the Bayesian...
z2pconvert z to p value 'p2z' z to p value
ollyburren/cupcake documentation built on July 30, 2020, 9:58 a.m.