First time R users:

If R is not installed on your computer, you need to install it before you can use BayesMendel. R is free and open source and available at the CRAN website. Once you get there, if you use Windows, click on "Windows (95 and later)" then click on "base" then click on "rw1091.exe" this will start the download. Once you have the exe file, click on it and it will install. Once installed, click to start.If you use linux or a mac, you probably know what to do once you get to CRAN.

At this point the best thing to do is to spend a day or two familiarizing yourself with R. In addition to the extensive materials provided at CRAN, a couple of very good places to get a quick start are the Statistical Computing Class at JHSPH or the R course by Bates and Lumley. Among the things you will learn is how to install a package (it's an easy thing to do). BayesMendel installs like any other package.

Older versions of the BayesMendel R package are described below and available by email request. P lease send your name, institution, and package version number desired to

Version 2.1-3, 3/31/16

  1. Adding imputeAge and imputeRelatives option to all models

Version 2.1-2, 9/8/15

  1. New model LFSpro now included
  2. Lyte-Simple imputation approach now added for all models
  3. Lyte-Plus also now extended to all models
  4. Twins can now be included in all models.

Version 2.1-1, 2/23/2015

  1. Corrected an error in peelingRC related to handling of family member-specific ethnicity
  2. Allow for missing age inputs (NA) for all models

Version 2.1, 10/3/2014

  1. Added MakeRelationship back to the package so facilitate use of PREMM and age imputation in the BayesMendel models.
  2. Added the PREMM model to the package.
  3. Fixed a few plotting problems in BayesMendel.R
  4. Fixed a bug in CensorAtIntervention.R
  5. Changed the way twins are handled. Now the LIK is collapsed before entered into peeling instead of collapsing twins in CheckFamStructure.
  6. Unknown ages are now being imputed via the helper function “ImputeAge”
  7. Default sensitivity of BRCA testing has been updated to 99% to reflect 2012 estimates from Myriad.
  8. Added the data object “BrOvJointDsn.RData” to the package to assist with age imputation when a family member is affected with both breast and ovarian cancers but the ages of diagnosis are unknown.

Version 2.0-9, 3/24/14

  1. Fixed a bug when families would have multiple interventions
  2. The peeling algorithm returns NA when it cannot calculate a probability

Version 2.0-813, 5/28/13

  1. Fixed BRCAPRO bug when pedigrees had multiple family members with interventions.

Version 2.0-812, 5/28/13

  1. Fixed BRCAPRO bug when predicting future risk predictions when last listed family member was counselee.
  2. Fixed BRCAPRO bug when "ethnic" field is read in by R software as a "factor".
  3. The BRCAPRO hazard ratio for ovarian cancer following mastectomy is updated to be uninformative.
  4. In BRCAPRO, if a family has at least one AJ family member, the ethnic field is set to AJ for any members with unknown ethnicity. Otherwise missing ethnicity is set to nonAJ.

Version 2.0-81, 3/20/13

  1. The peeling algorithm has been converted to c-code to improve computation time without changing estimates.

Version 2.0-8, 1/29/13 **latest version**

  1. BRCAPRO has been re-calibrated and improved with updated penetrances for contralateral breast cancer.
  2. Package now allows for input on ethnicity for each family member, in order to better characterize families containing more than one ethnic groups, each of which may present different allele frequencies for the mutations of interest.
  3. Mastectomy as an intervention has been added to BRCAPRO.
  4. Improved the error message returned when there is a problem with the Twins input.

Version 2.0-7, 3/06/12

  1. Package now requires kinship2, as kinship was retired from CRAN on 3/14/12
  2. Fixed a bug in CheckFamStructure when a pair of twins and no other relatives are included in the pedigree.
  3. Updated default sensitivity parameters for BRCA1/2 testing to 95%.

Version 2.0-6, 10/20/11

  1. Her-2 status added to brcapro
  2. Other marker parameters have been updated
  3. Identical twins can be put into the pedigree
  4. Wenyi fixed a half-sib bug and Amanda fixed a bug related to future risk when oophorectomy was done on the proband.

Version 2.0-5, 10/8/10

  1. Post-oophorectomy hazard ratios have been updated to reflect Domchek et al, JAMA 2010 and have taken away protective effect after menopause (HR set to 1.0 for women aged > 60).
  2. Wenyi fixed two bugs related to half-siblings.

Version 2.0-4, 2/12/10

  1. Melapro added to the package

Version 2.0-3, 7/22/09

  1. BRCAPRO now outputs future risk of contralateral breast cancer for a counselee who has a diagnosed primary breast cancer.
  2. For all models, if the counselee already has a diagnosed cancer (contralateral breast, ovarian, pancreas, colon, endometrial), future risk is no longer output.

Version 2.0-2, 3/17/09

  1. BRCAPRO now considers race/ethnicity

Version 2.0, 4/20/08

  1. Pedigrees of any size can be included in the model

Version 1.4-3, 4/10/07

  1. Pancreas cancer model, PancPRO, added to the package

Version 1.4-2, 10/24/06

  1. MMRpro and brcapro prediction algorithm uses hazard function and accounts for death from other causes.
  2. calc.future.risk function added.
  3. make.BM.object function removed.
  4. death.othercauses data set added.
  5. MMRpro and brcapro output objects of class BayesMendel for use in generic plot function.

Version 1.4-1, 9/12/06

  1. Changed all referenes of 'crcapro' to 'MMRpro'
  2. Incorporated a new 3-gene version of 'MMRpro', Ngene. Ngene completely replaces aveG and margene for both brcapro and MMRpro.
  3. Moved parameter specification part of MMRpro to MMRparams
  4. Removed 'cancerrisk' and 'summary.cancerrisk' - now incorporated into 'brcapro'
  5. Note the rows and columns of the posterior probability matrix for brcapro have been switched.
  6. New .Rdata files 'MMRpenet' and 'MMR.fam' replace 'HNPCCpenet.2004' and 'crca.fam'.
  7. Output for brcapro and MMRpro is now in list format
  8. Function 'makeBMobject' added for enabling use of generic plot function to plot pedigree structure

Version 1.3-2, 7/20/06

  1. Added generic 'plot' option to display pedigree structure and probabilities

Version 1.3-1, 3/30/06

  1. Updated penetrance estimates for breast and ovarian cancers
  2. Oophorectomy history can be included in the model
  3. Molecular marker information can be included in the model

Version 1.2-5, 9/28/05

  1. Fixed a typo in brcapro.R (It does not affect the calcuation though)
  2. Added a patch (margenerec.c) so that BayesMendel can handle models with recessive mode of inheritance. See the help file for aveG(), which can now be specified to do recessive calculations.
  3. Replace Australian.R with LAMBDA.R, use the help file for LAMBDA() for details.

Version 1.2-4, 6/22/05

  1. Fixed a bug in cancerrisk.R

Version 1.2-3, 2/1/05

  1. Updated BRCApenet.AJ.2004 and BRCApenet.nonAJ.2004

Version 1.2-2, 11/18/04

  1. Added in MakeRelationship.R
  2. Added in BRCApenet.Italian.RData, the BRCA penetrance object for the Italian population (Marroni 2004)
  3. Added in Australian.R (Apicella 2003)
  4. Improved the documentations

Version 1.2-1, 9/8/04

  1. Added in new BRCA penetrances for AJ and nonAJ (Chen 2004) BRCApenet.AJ.2004 BRCApenet.nonAJ.2004
  2. Updated HNPCCpenetrance HNPCCpenet.2004
  3. Impoved documentation for the penetrance objects

Version 1.1-15, 8/30/04

  1. Improved output description (documentation)
  2. Fixed the problem with endometrial cancer in CRCAPRO

Chen S, Iversen ES, Friebel Tara, Finkelstein D, Weber BL, Eisen A, Peterson LE, Schildkraut JM, Isaacs C, Peshkin BN, Corio C, Leondaridis L, Tomlinson G, Amos CI, Strong LC, Berry DA, Dutson D, Kerber R, Euhus DM, Parmigiani G. Comprehensive Evaluation of Breast and Ovarian Cancer Risks Associated with BRCA1 and BRCA2 Mutations. (in progress) 2004

Marroni, F., Aretini, P., D'Andrea, E., Caligo, M.A., Cortesi, L., Viel, A., Ricevuto, E., Montagna, M., Cipollini, G., Federico, M. et al. (2004) Penetrances of breast and ovarian cancer in a large series of families tested for BRCA1/2 mutations. Eur J Hum Genet, 12, 899-906.

Apicella C, Andrews L, Hodgson SV, Fisher SA, Lewis CM, Soloman E, Tucker K, Friedlander M, Bankier A, Southey MC, Venter DJ, Hopper JL. Log odds of carrying an Ancestral Mutation in BRCA1 or BRCA2 for a Defined personal and family history in an Ashkenazi Jewish woman (LAMBDA). Breast Cancer Research 5(6): R206-216.

Hopper JL, Jenkins MA. Modeling the probability that Ashkenazi Jewish women carry a founder mutation in BRCA1 or BRCA2. American Journal of Human Genetics 1999, 65: 1771-1775.