dot-countAccessionMatches: Count accession matches within a data frame

Description Usage Arguments Value

Description

Check whether all accessions are present within a data frame. Ignores empty strings NAs and repeated elements within the acc_vector.

Usage

1
.countAccessionMatches(acc_vector, df, output = "logical")

Arguments

acc_vector

A character vector with the accessions to be found within data frame

df

Data frame to be checked (needs to contain at least the column corresponding to accession type that is searched for)

output

A character indicating the type of output, can be "logical" (returns TRUE if all (non-NA, non-empty, unique) acc_vector elements are present in the data frame) or "numeric" (returns a numerical vector with the count of matches and the length of (non-NA, non-empty, unique) acc_vector)

Value

Depends on the output type (see above)


ss-lab-cancerunit/SpiderSeqR documentation built on Nov. 2, 2020, 12:18 a.m.