site_snp_count_bp error handler
This commit is contained in:
parent
0a4be280c3
commit
4f01695391
1 changed files with 3 additions and 0 deletions
|
@ -40,6 +40,9 @@ site_snp_count_bp <- function (plotdf,
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
if (is.null(plotdf)){
|
||||||
|
return(ggplot() + annotate(x=1,y=1,"text", label="NO DATA")+theme_void())
|
||||||
|
}
|
||||||
plotdf = as.data.frame(plotdf)
|
plotdf = as.data.frame(plotdf)
|
||||||
# dim of plotdf
|
# dim of plotdf
|
||||||
cat(paste0("\noriginal df dimensions:"
|
cat(paste0("\noriginal df dimensions:"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue