pcaPlot {diffloop} | R Documentation

## Visualize sample relationships

### Description

`pcaPlot` takes a loops object plots the individual samples based on the principal components of the loop counts matrix

### Usage

    pcaPlot(dlo)

    ## S4 method for signature 'loops'
    pcaPlot(dlo)

### Arguments

`dlo` | A loops object

### Details

Groups for the principal component plots are derived from `colData` and the normalizing factors are also taken from `colData`. While some loops objects may have non-informative groups or size factors, they should always be present.

### Value

A ggplot2 plot

### Examples

    rda<-paste(system.file('rda',package='diffloop'),'loops.small.rda',sep='/')
    load(rda)
    p1 <- pcaPlot(loops.small)

[Package diffloop version 1.20.0 Index]