fill_empties_P {biclustermd}R Documentation

Randomly select a column prototype to fill an empty column prototype with

Description

Randomly select a column prototype to fill an empty column prototype with

Usage

fill_empties_P(data, obj, col_min_num = 10, col_num_to_move = 5)

Arguments

data

The data being biclustered. Must to be a data matrix with only numbers and missing values in the data set. It should have row names and column names.

obj

A matrix for column clusters, typically named P.

col_min_num

Minimum column prototype size in order to be eligible to be chosen when filling an empty column prototype. Default is 10.

col_num_to_move

Number of columns to remove from the sampled prototype to put in the empty column prototype. Default is 5.

Value

A matrix for column clusters, i.e., a P matrix.


[Package biclustermd version 0.2.3 Index]