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

View source: R/GeneratePriorppindex.R

GeneratePriorppindexR Documentation

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

Description

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

Usage

GeneratePriorppindex(multi.types, input.catalog, nps)

Arguments

multi.types

A logical scalar or a character vector. If FALSE, The HDP analysis will regard all input spectra as one tumor type.

If TRUE, the HDP analysis will infer tumor types based on the string before "::" in their names. e.g. tumor type for "SA.Syn.Ovary-AdenoCA::S.500" would be "SA.Syn.Ovary-AdenoCA"

If multi.types is a character vector, then it should be of the same length as the number of columns in input.catalog, and each value is the name of the tumor type of the corresponding column in input.catalog.

e.g. c("SA.Syn.Ovary-AdenoCA", "SA.Syn.Kidney-RCC").

input.catalog

Input spectra catalog as a matrix or in ICAMS format.

nps

Number of prior signatures


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