find_pri_df: helper for finding input 'df'

find_pri_dfR Documentation

helper for finding input 'df'

Description

helper for finding input 'df'

Usage

find_pri_df(
  anal_type = "Model",
  df = NULL,
  id = "gene",
  impute_na = FALSE,
  ...
)

Arguments

anal_type

Character string; the type of analysis that are preset for method dispatch in function factories. The value will be determined automatically. Exemplary values include anal_type = c("PCA", "Corrplot", "EucDist", "GSPA", "Heatmap", "Histogram", "MDS", "Model", "NMF", "Purge", "Trend", "LDA", ...).

df

The name of a primary data file. By default, it will be determined automatically after matching the types of data and analysis with an id among c("pep_seq", "pep_seq_mod", "prot_acc", "gene"). A primary file contains normalized peptide or protein data and is among c("Peptide.txt", "Peptide_pVal.txt", "Peptide_impNA_pVal.txt", "Protein.txt", "Protein_pVal.txt", "protein_impNA_pVal.txt"). For analyses require the fields of significance p-values, the df will be one of c("Peptide_pVal.txt", "Peptide_impNA_pVal.txt", "Protein_pVal.txt", "protein_impNA_pVal.txt").

id

Character string; one of pep_seq, pep_seq_mod, prot_acc and gene.

impute_na

Logical; if TRUE, data with the imputation of missing values will be used. The default is FALSE.

...

Not currently used.


qzhang503/proteoQ documentation built on Dec. 14, 2024, 12:27 p.m.