find_fit_nms: Finds sample IDS for used in the current fitting.

View source: R/normalization.R

find_fit_nmsR Documentation

Finds sample IDS for used in the current fitting.

Description

Finds sample IDS for used in the current fitting.

Usage

find_fit_nms(universe, selected, pat = NULL)

Arguments

universe

A name list from data table.

selected

A name list from metadata.

pat

A pattern in regular expression.

Examples

pat <- "^N_log2_R[0-9]{3}[NC]{0,1}\\s+\\("

# special character of "+" and pointed brackets
universe <- c("N_log2_R000 (<Mix1+Mix2> [base])", "N_log2_R000 (Mix1 [heavy])", 
              "N_log2_R000 (Mix2 [heavy])")
selected <- c("<Mix1+Mix2> [base]", "Mix2 [heavy]")

# special character of "+" and round parenthesis
universe <- c("N_log2_R000 ((Mix1+Mix2) [base])", "N_log2_R000 (Mix1 [heavy])", 
              "N_log2_R000 (Mix2 [heavy])")
selected <- c("(Mix1+Mix2) [base]", "Mix2 [heavy]")


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