.scatterPlotComplex {abseqR} | R Documentation

## Creates a complex scatter plot

### Description

Creates a complex scatter plot

### Usage

    .scatterPlotComplex(df.union, df1, df2, name1, name2, cloneClass)

### Arguments

`df.union` | a 'lossless' dataframe created by intersecting sample1 and sample2's dataframes. It should contain NAs where clones that appear in one sample doesn't appear in the other. For example: +————————————————-+ | Clonotype | prop.x | prop.y | Count.x | Count.y | +————————————————-+ | ABCDEF NA 0.01 NA 210 | | ...... | +————————————————-+
`df1` | dataframe for sample 1
`df2` | dataframe for sample 2
`name1` | string type, Sample 1 name
`name2` | string type. Sample 2 name
`cloneClass` | string type. What region was used to classify clonotypes - appears in title. For example, CDR3 or V region this plotting techique was shamelessly plagarised from https://github.com/mikessh/vdjtools/blob/master/src/main/resources/rscripts/intersect_pair_scatter.r (VDJTools) with minor modifications

### Value

ggplot2 object

[Package abseqR version 1.12.0 Index]