cnv: Apply NLP to genomic reports to extract copy number variants...

Description Usage Arguments Value

View source: R/cnv.R

Description

'cnv()' integrates various platform-specific NLP functions to text mine gene names and copy number variants data from a variety of genomic reports and transforms them to structured data for import into REDCap

Usage

1
cnv(data = dplyr::tibble(Results = readr::clipboard()), platform)

Arguments

data

The data frame of the genomic report of interest. This can be copied to the Clipboard from the EHR report by "selecting all" and then "copy". That is the default. If you don't use the clipboard function, you can use a data frame of the text file. The single column data frame should be labeled "Results". Required.

platform

String of the platform used to generate the genomics report. Acceptable strings include: MGH, SNaPshot, BWH, Oncopanel, Guardant, Guardant 360, Foundation or fmi. Case is not sensitive. Required.

Value

a data frame with two columns: variables (the redcap variable names) and results (the data to be imported in to redcap)


TheMillerLab/genetex documentation built on Dec. 18, 2021, 4:09 p.m.