diffHicUsersGuide {diffHic} | R Documentation

## View diffHic user's guide

### Description

Finds the location of the user's guide and opens it for viewing.

### Usage

    diffHicUsersGuide(view=TRUE)

### Arguments

`view` | logical scalar specifying whether the document should be opened

### Details

The diffHic package is designed for the detection of differential interactions from Hi-C data. It provides methods for read pair counting, normalization, filtering and statistical analysis via edgeR. As the name suggests, the diffHic user's guide for can be obtained by running this function.

For non-Windows operating systems, the PDF viewer is taken from `Sys.getenv("R_PDFVIEWER")`. This can be changed to `x` by using `Sys.putenv(R_PDFVIEWER=x)`. For Windows, the default viewer will be selected to open the file.

Note that this guide is not a true vignette as it is not generated using `Sweave` when the package is built. This is due to the time-consuming nature of the code when run on realistic case studies.

### Value

A character string giving the file location. If `view=TRUE`, the system's default PDF document reader is started and the user's guide is opened.

### Author(s)

Aaron Lun

### See Also

`system`

### Examples

    # To get the location:
    diffHicUsersGuide(view=FALSE)
    # To open in pdf viewer:
    ## Not run: diffHicUsersGuide()

[Package diffHic version 1.22.0 Index]