nmf_extract_group: Extract groups (sample clustering) from NMF run results

Description Usage Arguments Details Examples

Description

X = W x H W is the feature matrix, H is the sample matrix After NMF run, use this function to select import features and assign groups for the two matrix

Usage

1
nmf_extract_group(nmfObj, type = "consensus", matchConseOrder = FALSE)

Arguments

nmfObj

NMF run results

type

a character string that indicates the type of cluster membership should be returned, valid input is 'samples' or 'consensus'.

matchConseOrder

if TRUE, oder samples as they are shown in consensus map.

Details

This code is modified from source.

Examples

1
2
3
4
## Not run: 
nmf_extract_group(nmf_res)

## End(Not run)

ShixiangWang/VSHunter documentation built on June 27, 2019, 4:56 p.m.