Diff of /man/compAgree.Rd [000000] .. [494cbf]

Switch to unified view

a b/man/compAgree.Rd
1
% Generated by roxygen2: do not edit by hand
2
% Please edit documentation in R/compAgree.R
3
\name{compAgree}
4
\alias{compAgree}
5
\title{Comparison of agreement between two subtypes}
6
\usage{
7
compAgree(
8
  moic.res = NULL,
9
  subt2comp = NULL,
10
  doPlot = TRUE,
11
  clust.col = c("#2EC4B6", "#E71D36", "#FF9F1C", "#BDD5EA", "#FFA5AB", "#011627",
12
    "#023E8A", "#9D4EDD"),
13
  box.width = 0.1,
14
  fig.name = NULL,
15
  fig.path = getwd(),
16
  width = 6,
17
  height = 5
18
)
19
}
20
\arguments{
21
\item{moic.res}{An object returned by `getMOIC()` with one specified algorithm or `get\%algorithm_name\%` or `getConsensusMOIC()` with a list of multiple algorithms.}
22
23
\item{subt2comp}{A data.frame of subtypes that need to compare with current subtype with rownames for samples and columns for other subtypes.}
24
25
\item{doPlot}{A logic value to indicate if generating alluvial diagram to show the agreement of different subtypes; TRUE by default.}
26
27
\item{clust.col}{A string vector storing colors for each cluster.}
28
29
\item{box.width}{A numeric valur to indicate the width for box in alluvial diagram.}
30
31
\item{fig.name}{A string value to indicate the name of the figure.}
32
33
\item{fig.path}{A string value to indicate the output path for storing the figure.}
34
35
\item{width}{A numeric value to indicate the width of alluvial diagram.}
36
37
\item{height}{A numeric value to indicate the height of alluvial diagram.}
38
}
39
\value{
40
A figure of agreement (.pdf) if \code{doPlot = TRUE} and a data.frame storing four agreement measurements, including Rand Index (RI), Adjusted Mutual Information (AMI), Jaccard Index (JI), and Fowlkes-Mallows (FM).
41
}
42
\description{
43
Compute the Rand Index, Jaccard Index, Fowlkes-Mallows, and Normalized Mutual Information for agreement of two partitions, and generate alluvial diagrams for visualization.
44
}
45
\examples{
46
# There is no example and please refer to vignette.
47
}