sugsvarsel: Perform clustering and variable selection using the SUGS...

Description Usage Arguments Value

Description

Perform clustering and variable selection using the SUGS algorithm.

Usage

1
2
3
4
sugsvarsel(X, featiter, clustiter, intfeatures, numSelect, Model, mu_0 = NULL,
  lambda_0 = 0.01, nu_0 = NULL, S_0 = NULL, betaHat = c(0.01, 0.1, 1, 5,
  10, 15, 30, 50, 100), a = 10, b = 1, w = c(0.5, 0.5),
  BPPARAM = bpparam(), Verbose = T)

Arguments

X

A data matrix with rows as observations.

featiter

The number of iterations of variable selection

clustiter

The number of random ordering, for which to apply SUGS.

intfeatures

A binary matrix of the intial variable set, probably chosen using function pSelect. See documentation for pSelect for more details.

numSelect

The total number of feature sets for the algorithm to intialise.

Model

The method used for Model select, either PML, ML or Both. If you select both the PML will be used to perform model selection.

mu_0

The mean hyperparameter, default is the column means of the data matrix.

lambda_0

The variance of the Guassian mean prior, the dafault value is 0.01.

nu_0

The degrees of freedom hyperparameter, the default value is D, where D is the number of variables.

S_0

The scale hyperparamter, the deault value is a tenth of the column variance of the data matrix.

betaHat

A grid of hyperparameters for the dirichlet concentration parameter, the default is c(0.01, 0.1, 1, 5, 10, 15, 30, 50, 100).

a

The scale of the gamma prior for the dirichlet concentration parameter, the dafault value is 10.

b

The rate of the gamma prior for the dirichlet concentration parameter, the default value is 1.

w

The prior probability of a variable belong to the irrelevant or relevant partition. The vector must contain two entries the first entry being the probabiliy of being irreleavnt and the second being the probability of being relevant The default value is c(0.5,0.5).

BPPARAM

Support for parallel processing using the BiocParallel infrastructure. When missing (default), the default registered BiocParallelParam parameters are used. Alternatively, one can pass a valid BiocParallelParam parameter instance: SnowParam, MulticoreParam, DoparParam, ... see the BiocParallel package for details. To revert to the origianl serial implementation, use NULL.

Verbose

Boolean to indicate whether or not to print curren iteration state

Value

A vector of log marginal likelihoods, a matrix of memberships, the reorderings of the data and the associated feature sets.


ococrook/sugsvarsel documentation built on May 27, 2019, 12:12 p.m.