case_control: Case-Control Study Data

case_controlR Documentation

Case-Control Study Data

Description

A case-control study dataset containing genetic marker mutation indicators as covariates.

Usage

data(case_control)

Format

A data frame with 2000 rows and 16 variables:

disease_status

Disease status (1 = case, 0 = control).

marker1

Binary mutation indicator for marker 1.

marker2

Binary mutation indicator for marker 2.

marker3

Binary mutation indicator for marker 3.

marker4

Binary mutation indicator for marker 4.

marker5

Binary mutation indicator for marker 5.

marker6

Binary mutation indicator for marker 6.

marker7

Binary mutation indicator for marker 7.

marker8

Binary mutation indicator for marker 8.

marker9

Binary mutation indicator for marker 9.

marker10

Binary mutation indicator for marker 10.

marker11

Binary mutation indicator for marker 11.

marker12

Binary mutation indicator for marker 12.

marker13

Binary mutation indicator for marker 13.

marker14

Binary mutation indicator for marker 14.

marker15

Binary mutation indicator for marker 15.

Details

The dataset contains:

  • 1000 cases and 1000 controls

  • 15 binary genetic markers. Binary mutation indicator: 1=mutation, 0=wild type.

  • Number of mutations for each marker:

    • marker1: Total 19 (Cases 13)

    • marker2: Total 16 (Cases 11)

    • marker3: Total 16 (Cases 11)

    • marker4: Total 10 (Cases 7)

    • marker5: Total 13 (Cases 9)

    • marker6: Total 12 (Cases 8)

    • marker7: Total 10 (Cases 7)

    • marker8: Total 12 (Cases 8)

    • marker9: Total 11 (Cases 8)

    • marker10: Total 16 (Cases 11)

    • marker11: Total 19 (Cases 10)

    • marker12: Total 9 (Cases 3)

    • marker13: Total 14 (Cases 6)

    • marker14: Total 8 (Cases 5)

    • marker15: Total 7 (Cases 4)

Examples

data(case_control)
head(case_control, 3)

#1000 cases and 1000 controls
table(case_control$disease_status)

#Marker 1 has 13 mutations in cases and 6 mutations in controls.
table(case_control$disease_status, case_control$marker1) 

DPComb documentation built on Aug. 22, 2026, 5:08 p.m.

Related to case_control in DPComb...