This function calculates the log likelihood for a set of parameters and data without considering sex differentiation using the clipp package.
mhLogLikelihood_clipp_noSex(
paras,
families,
twins,
max_age,
baseline_data,
prev,
geno_freq,
trans,
BaselineNC,
ncores
)
Numeric, the calculated log likelihood.
Numeric vector, the parameters for the Weibull distribution and scaling factors. Should contain in order: gamma, delta, given_median, given_first_quartile.
Data frame, containing pedigree information with columns for 'age', 'aff' (affection status), and 'geno' (genotype).
Information on monozygous twins or triplets in the pedigrees.
Integer, maximum age considered in the analysis.
Numeric vector, baseline risk data for each age.
Numeric, prevalence of the risk allele in the population.
Numeric vector, represents the frequency of the risk type and its complement in the population.
Numeric matrix, transition matrix that defines the probabilities of allele transmission from parents to offspring.
Logical, indicates if non-carrier penetrance should be based on the baseline data or the calculated non-carrier penetrance.
Integer, number of cores to use for parallel computation.
Details about the clipp package and methods can be found in the package documentation.