dropna_granges <- function(gr,
cols="score"){
cols <- cols[cols %in% names(GenomicRanges::mcols(gr))]
for(cl in cols){
gr <- gr[!is.na(GenomicRanges::mcols(gr)[["score"]]),]
}
return(gr)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.