Generateppindex: Generate index for a HDP structure and num.tumor.types for...

View source: R/Generateppindex.R

GenerateppindexR Documentation

Generate index for a HDP structure and num.tumor.types for other functions

Description

Generate index for a HDP structure and num.tumor.types for other functions

Usage

Generateppindex(multi.types, input.catalog)

Arguments

multi.types

A logical scalar or a character vector.

If FALSE, The HDP analysis will regard all input spectra as one tumor type, and the HDP structure will have one parent node for all tumors.

If TRUE, Sample IDs in input.catalog must have the form sample_type::sample_id.

If a character vector, then its length must be ncol(input.catalog), and each value is the sample type of the corresponding column in input.catalog, e.g. c(rep("Type-A", 23), rep("Type-B", 10)) for 23 Type-A samples and 10 Type-B samples.

If not FALSE, HDP will have one parent node for each sample type and one grandparent node.

input.catalog

Input spectra catalog as a matrix or in ICAMS format.


steverozen/mSigHdp documentation built on Feb. 6, 2023, 1:36 a.m.