PlotScatter: Plot scatter plot of log10 depth vs FRIP or TSS score for...

Description Usage Arguments Value Examples

View source: R/plotscatter.R

Description

Plot scatter plot of log10 depth vs FRIP or TSS score for scATACseq data

Usage

1
2
PlotScatter(df, y = "FRIP", barcodes = NULL, hline = 0.6,
  vline = 3, col = "red")

Arguments

df

A dataframe with at least 3 columns with names: cells, depth, FRIP or cells, depth, tss_score

y

x-axis will always be the log10(depth), y could be FRIP or tss_score

barcodes

a vector of valid barcodes

hline

dotted hline cutoff

vline

dotted vline cutoff

col

color of the dotted vline and hline

Value

a ggplot2 scatter plot

Examples

1
2
3
4
5
6
## Not run: 

PlotScatter(frip, y = "FRIP")
PlotScatter(tss_scores, y = "tss_score")

## End(Not run)

crazyhottommy/scATACutils documentation built on June 15, 2020, 9:31 p.m.