mirror of
https://github.com/johrpan/geposan.git
synced 2025-10-26 10:47:25 +01:00
clustering: Adapt defaults to publication
This commit is contained in:
parent
25bf762ddb
commit
57a0a8d0ab
3 changed files with 4 additions and 4 deletions
|
|
@ -16,7 +16,7 @@
|
||||||
#' @return A score between 0.0 and 1.0 summarizing how much the data clusters.
|
#' @return A score between 0.0 and 1.0 summarizing how much the data clusters.
|
||||||
#'
|
#'
|
||||||
#' @export
|
#' @export
|
||||||
clusteriness <- function(data, span = 500000, weight = 0.5) {
|
clusteriness <- function(data, span = 1000000, weight = 0.5) {
|
||||||
n <- length(data)
|
n <- length(data)
|
||||||
|
|
||||||
# Return a score of 0.0 if there is just one or no value at all.
|
# Return a score of 0.0 if there is just one or no value at all.
|
||||||
|
|
@ -67,7 +67,7 @@ clusteriness <- function(data, span = 500000, weight = 0.5) {
|
||||||
clustering <- function(id = "clustering",
|
clustering <- function(id = "clustering",
|
||||||
name = "Clustering",
|
name = "Clustering",
|
||||||
description = "Clustering of genes",
|
description = "Clustering of genes",
|
||||||
span = 500000,
|
span = 1000000,
|
||||||
weight = 0.5) {
|
weight = 0.5) {
|
||||||
method(
|
method(
|
||||||
id = id,
|
id = id,
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
\alias{clusteriness}
|
\alias{clusteriness}
|
||||||
\title{Perform a cluster analysis.}
|
\title{Perform a cluster analysis.}
|
||||||
\usage{
|
\usage{
|
||||||
clusteriness(data, span = 5e+05, weight = 0.5)
|
clusteriness(data, span = 1e+06, weight = 0.5)
|
||||||
}
|
}
|
||||||
\arguments{
|
\arguments{
|
||||||
\item{data}{The values that should be scored.}
|
\item{data}{The values that should be scored.}
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ clustering(
|
||||||
id = "clustering",
|
id = "clustering",
|
||||||
name = "Clustering",
|
name = "Clustering",
|
||||||
description = "Clustering of genes",
|
description = "Clustering of genes",
|
||||||
span = 5e+05,
|
span = 1e+06,
|
||||||
weight = 0.5
|
weight = 0.5
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue