Aan de slagBegin gratis

Setting-up the model

Before you can run the actual comparison between groups you have to tell DiffBind how samples are split between them. The easiest way to do this is to use one of the predefined categories DiffBind attaches to the samples. These include commonly used groupings of interest like the condition or tissue associated with each sample. You can indicate which one you would like to use via the categories argument using constants like DBA_CONDITION and DBA_TISSUE. The help page for dba.contrast() has a complete list of the available constants.

Deze oefening maakt deel uit van de cursus

ChIP-seq with Bioconductor in R

Bekijk cursus

Oefeninstructies

  • Examine the ar_binding object.
  • Identify the category corresponding to the Primary Tumor (primary) and Treatment Resistant (TURP) condition.
  • Establish the contrast to compare the two tumor types.
  • Examine the dba_peaks object to confirm that the contrast has been added.

Interactieve oefening met praktijkervaring

Probeer deze oefening door deze voorbeeldcode aan te vullen.

# Examine the ar_binding object
print(___)

# Identify the category corresponding to the tumor type contrast
contrast <- DBA____

# Establish the contrast to compare the two tumor types
dba_peaks <- dba.___(ar_binding, ___=contrast, minMembers=2)

# Examine the dba_peaks object to confirm that the contrast has been added
___(___)
Code bewerken en uitvoeren