plotIndSNP: Plots the SNP data of chromosome Y for an individual

View source: R/plotIndSNP.R

plotIndSNPR Documentation

Plots the SNP data of chromosome Y for an individual

Description

This function draws the LRR and BAF data of chromosome Y for an individual analyzed with madloy or checkBdev

Usage

plotIndSNP(
  x,
  sample,
  rsCol = 1,
  ChrCol = 2,
  PosCol = 3,
  LRRCol = 4,
  BAFCol = 5,
  offset = 0,
  scaleY = FALSE,
  ...
)

Arguments

x

A MADloy object from the MADloy functions.

sample

The identifier of a sample in the MADloy object.

rsCol

Column of the MAD file with the name of the SNP.

ChrCol

Column of the MAD file with the chromosome information.

PosCol

Column of the MAD file with the position information.

LRRCol

Column of the MAD file with the LRR information.

BAFCol

Column of the MAD file with the BAF information.

offset

offset value to adjust msY region LRR. By default is set to 0.

scaleY

Should the LRR in msY region be scaled to simulate a diploid region - ploidy(msY)+1. By default is set to TRUE.

...

Any other graphical parameter.

Value

A data table with the results for all samples in columns

Examples

## Not run: 
plotindSNP(resMADloy, "SAMPLE")
## End(Not run)

isglobal-brge/MADloy documentation built on March 3, 2024, 7:27 p.m.