| 1 |
% Generated by roxygen2: do not edit by hand |
| 2 |
% Please edit documentation in R/pvclust.R |
| 3 |
\name{pvclust_edges} |
| 4 |
\alias{pvclust_edges} |
| 5 |
\title{Get Pvclust Edges Information} |
| 6 |
\usage{ |
| 7 |
pvclust_edges(pvclust_obj) |
| 8 |
} |
| 9 |
\arguments{ |
| 10 |
\item{pvclust_obj}{pvclust object} |
| 11 |
} |
| 12 |
\value{ |
| 13 |
data.frame with leaves on column 1 and 2, followed by the rest of the information from edge |
| 14 |
} |
| 15 |
\description{ |
| 16 |
Get pvclust edges information such as au and bp and return dataframe with proper sample labels. |
| 17 |
This function is useful when there are a lot of samples involved. |
| 18 |
} |
| 19 |
\examples{ |
| 20 |
\dontrun{ |
| 21 |
|
| 22 |
library(pvclust) |
| 23 |
data(lung) # 916 genes for 73 subjects |
| 24 |
set.seed(13134) |
| 25 |
result <- pvclust(lung[, 1:20], method.dist = "cor", method.hclust = "average", nboot = 100) |
| 26 |
pvclust_edges(result) |
| 27 |
} |
| 28 |
} |
| 29 |
\references{ |
| 30 |
hclust object descriptions \url{https://stat.ethz.ch/R-manual/R-patched/library/stats/html/hclust.html} |
| 31 |
} |