R/print.boottree.R

"print.boottree" <-
function(x,...){
	orig.string <- paste(x$original$parent.num, collapse=".")
	boot.idx <- match(orig.string, as.character(x$tree.list$Tree))
	cat("Out of the", sum(x$tree.list$Freq), "replicates",
	  "there are", nrow(x$tree.list), "unique trees with frequencies from", 
	    max(x$tree.list$Freq), "down to", min(x$tree.list$Freq),"\n")
	cat("The bootstrap process found the original tree", x$tree.list$Freq[boot.idx] , "times\n")
	invisible(x)
}

Try the Oncotree package in your browser

Any scripts or data that you put into this service are public.

Oncotree documentation built on Sept. 28, 2023, 1:06 a.m.