tj_list <- function(dat = dat, ctf = 100){
out.s <- NULL
c1.i <- which.min(dat[,1])
c2.i <- which.max(dat[,1])
out <- tjGCluster2(dat, from=c1.i, to=c2.i,cutoff = ctf)
node <- out$node
level <- out$level1
cell <- level[sapply(level, function(x) length(x) >= 2)]
target_indices <- lapply(cell,function(x) sapply(x, function(y) which(row.names(dat) == y),USE.NAMES = FALSE))
return(list(target_indices,cell))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.