fill_empties_P: Randomly select a column prototype to fill an empty column...

Description Usage Arguments Value

View source: R/fill_empties_P.R

Description

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

Usage

1
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.


biclustermd documentation built on June 17, 2021, 5:11 p.m.