maftools_clinical_feature_description: Get a data.frame describing each clinical feature of a MAF

maftools_clinical_feature_descriptionR Documentation

Get a data.frame describing each clinical feature of a MAF

Description

Get a data.frame describing each clinical feature of a MAF

Usage

maftools_clinical_feature_description(
  maf,
  checkmark = c("none", "oncoplottable")
)

Arguments

maf

a maftools maf object

checkmark

should a pass/fail checkmark icon be added before the annotations name. (none = no pass/fail checkmark; oncoplottable = whether feature can be added to an oncoplot)

Details

Rule for pass/fail checks: To be 'oncoplottable' there must be <= 100 non-missing levels OR the feature must be numeric

Value

a data.frame with 3 columns. annotation (feature name); type (whether feature is numeric/categorical); levels (number of distinct, non-na values); content (html string with names + badges with additional information)


CCICB/CRUX documentation built on Jan. 28, 2024, 10:12 p.m.