Commit 3d04c8ad authored by mariefbourdon's avatar mariefbourdon
Browse files

220531 error handling tab_mark

parent 085b772b
{
"path" : "~/Documents/PhD/stuart_package/stuart",
"path" : "~/Documents/PhD/stuart_package/stuart/vignettes",
"sortOrder" : [
{
"ascending" : true,
......
{
"activeTab" : 0
"activeTab" : 1
}
\ No newline at end of file
{
"left" : {
"panelheight" : 1402,
"splitterpos" : 362,
"topwindowstate" : "NORMAL",
"windowheight" : 1440
"panelheight" : 762,
"splitterpos" : 196,
"topwindowstate" : "MAXIMIZE",
"windowheight" : 800
},
"right" : {
"panelheight" : 1402,
"splitterpos" : 879,
"splitterpos" : 878,
"topwindowstate" : "NORMAL",
"windowheight" : 1440
}
......
{
"TabSet1" : 1,
"TabSet2" : 0,
"TabSet2" : 3,
"TabZoom" : {
}
}
\ No newline at end of file
......@@ -15,11 +15,11 @@
## create table with markers and counts
tab_mark <- function(geno,annot,pos){
#stop if no annot or pos
if(rapportools::is.empty(annot)==FALSE){
if(all(rapportools::is.empty(annot)==TRUE)){
stop("No annotation data")
}
if(rapportools::is.empty(pos)==FALSE){
if(rapportools::is.empty(pos)==TRUE){
stop("No position data")
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment