cOligos: Concatenate Oligo (Probe) Sequences

Description Usage Arguments Value Note Examples

View source: R/cOligos.R

Description

Find (and concatenate) oligo sequences that belong to a proteinID of interest.

Usage

1
2
cOligos(id, df = ref, id_column = "ProteinID",
  oligo_seq = "PROBE_SEQUENCE")

Arguments

id

a proteinId of interest (character vector of length 1)

df

data frame that maps proteinIDs to oligo sequences

id_column

df column with proteinIDs (character vector of length 1)

oligo_seq

df column with oligo sequences (character vector of length 1)

Value

The function returns a tibble with two columns: proteinIDs and sequence of concatenated oligos that are associated with the proteinID

Note

The function accepts as an input only one proteinID. For more than one proteinIDs, combine with purrr::map_dfr

Examples

1
2
3
4
5
cOligos(49766)
cOligos("43120")

# more than one proteinIDs
purrr::map_dfr(c("49766", "59238"), cOligos)

bzunar/spathasporaExpression documentation built on July 23, 2019, 1:37 a.m.