duprateExpDensPlot.Rd
duprateExpDensPlot
Duplication rate ~ total read count plot
duprateExpDensPlot(
DupMat,
pal = c("cyan", "blue", "green", "yellow", "red"),
tNoAlternative = TRUE,
tRPKM = TRUE,
tRPKMval = 0.5,
tFit = TRUE,
addLegend = TRUE,
...
)
The duplication matrix calculated by analyzeDuprates
The color palette to use to display the density
Display threshold of 1000 reads per kilobase
Display threshold at a given RPKM level
The given RPKM level
Whether to fit the model
Whether to add a legend to the plot
Other parameters sent to plot()
nothing
This function makes a scatter plot showing the per gene duplication rate versus the total read count.
# dm is a duplication matrix calculated by analyzeDuprates:
# R> dm <- analyzeDuprates(bamDuprm,gtf,stranded,paired,threads)
attach(dupRadar_examples)
#> The following objects are masked from dupRadar_examples (pos = 3):
#>
#> dm, dm.bad
#> The following objects are masked from dupRadar_examples (pos = 4):
#>
#> dm, dm.bad
# duprate plot
duprateExpDensPlot(DupMat=dm)