contain_str: Helper of row filtration

contain_strR Documentation

Helper of row filtration

Description

contain_str: contain a literal string; "PEPTIDES" contain_str "TIDE".

contain_chars_in: contain some of the characters in a literal string; "PEPTIDES" contain_chars_in "XP".

not_contain_str" not contain a literal string; "PEPTIDES" not_contain_str "TED".

not_contain_chars_in: not contain any of the characters in a literal string; "PEPTIDES" not_contain_chars_in "CAB".

start_with_str: start with a literal string. "PEPTIDES" start_with_str "PEP".

end_with_str: end with a literal string. "PEPTIDES" end_with_str "TIDES".

start_with_chars_in: start with one of the characters in a literal string. "PEPTIDES" start_with_chars_in "XP".

ends_with_chars_in: end with one of the characters in a literal string. "PEPTIDES" ends_with_chars_in "XS".

rows_are_all: rows are all

rows_are_all: rows are all

Usage

contain_str(match, vars, ignore.case = FALSE)

contain_chars_in(match, vars, ignore.case = FALSE)

not_contain_str(match, vars, ignore.case = FALSE)

not_contain_chars_in(match, vars, ignore.case = FALSE)

start_with_str(match, vars, ignore.case = FALSE)

end_with_str(match, vars, ignore.case = FALSE)

start_with_chars_in(match, vars, ignore.case = FALSE)

ends_with_chars_in(match, vars, ignore.case = FALSE)

rows_are_all(match, vars, ignore.case = FALSE)

rows_are_not_all(match, vars, ignore.case = FALSE)

Arguments

match

A character string containing the pattern for matching.

vars

A character string of the name of a variable. The default is FALSE.

ignore.case

Logical; if TRUE, ignores case when matching.

Examples


pepHist(
  col_select = BI,
  scale_log2r = TRUE,
  filter_peps = exprs(contain_chars_in("sty", pep_seq_mod)),
  scale_y = FALSE,
  ncol = 4,
  filename = "BI_pSTY_scaley_no.png",
)


qzhang503/proteoQ documentation built on March 16, 2024, 5:27 a.m.