FindMyFriends
FindMyFriends copied to clipboard
!all(unique(gL$strand)) and Warning
Hi,
just to report that the following piece of code when gene location is passed as data.frame:
if (!all(unique(gL$strand)) %in% c(-1, 1)) {
return('Strand must be coded with -1 and 1')
}
returns a Warning:
Warning message:
In all(unique(gLl$strand)) : coercing argument of type 'double' to logical
even if whengL$strand
has only c(1, -1)
.
Bests -A