nmf_extract_feature: Extract features from NMF run results

View source: R/nmf_utils.R

nmf_extract_featureR Documentation

Extract features from NMF run results

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

nmf_extract_feature(res, rawdata = NULL, manual.num = 0,
  method = "default", math = "mad", FScutoff = 0.9)

Arguments

res

NMF run results

rawdata

Original expression matrix, if we want to rank the genes by 'MAD' value across samples

manual.num

How many genes to select from each of the group

method

'total', 'default', or 'rank'

math

Default is 'mad': median absolute deviation

Examples

nmf_extract_feature(nmf_res)

naikai/sake documentation built on Feb. 15, 2023, 11 p.m.