Nothing
#' @importFrom magrittr equals
#' @importFrom dplyr n
is_rectangular <- function(.data) {
is_rectangular_sample <-
.data %>%
count(sample) %>%
count(n, name="nn") %>%
nrow() %>%
equals(1)
is_rectangular_transcript <-
.data %>%
count(transcript) %>%
count(n, name="nn") %>%
nrow() %>%
equals(1)
is_rectangular_sample & is_rectangular_transcript
}
is_not_duplicated <- function(.data) {
.data %>%
count(`sample`, `transcript`) %>%
filter(n > 1) %>%
nrow() %>%
equals(0)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.