rnk: write rnk to a file from matrix W.

rnkR Documentation

write rnk to a file from matrix W.

Description

write a rnk file from matrix W in a returned object of function DNMF. The rnk format is referred RNK

Usage

rnk(object, fn = "./tmp.rnk", type = "o2m")

Arguments

object

a returned object of function DNMF

fn

the output filename. Default is "./tmp.rnk"

type

type o2m (Default) or o2o. to compare with multi sample labels. o2m means one Vs others, while o2o means one Vs another one.

Examples

## Not run: 
rnk(dnmf_result, fn="tmp.rnk")

## End(Not run)

zhilongjia/DNMF documentation built on May 12, 2022, 12:45 a.m.