Description Usage Arguments Value
Creates a complex scatter plot
1 | .scatterPlotComplex(df.union, df1, df2, name1, name2, cloneClass)
|
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 |
ggplot2 object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.