The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

ORscraper: An R Package for for extracting data from Oncomine Reporter’s clinical reports .

Overview

ORscraper is an R package designed to extract relevant medical information from clinical reports generated by the Oncomine Reporter software. This package is intended for healthcare professionals and researchers working with genetic data who need to automate the extraction and processing of information from report files. ORscraper provides tools to identify biopsies, extract genetic variants and pathogenicity classifications, filter relevant data, and query databases such as NCBI ClinVar.

Installation

Install the released version of remotes from CRAN:

install.packages("ORscraper")

You can install ORscraper from GitHub using the following R code:

# Install devtools if not already installed
if (!requireNamespace("devtools", quietly = TRUE)) {
    install.packages("devtools")
}

# Install ORscraper from GitHub
devtools::install_github("SamuelGonzalez0204/ORscraper")

Basic Usage

Below is a basic example of how to use ORscraper to extract information from PDF files:

library(ORscraper)

# Read content from a PDF file
example_pdf <- system.file("extdata", "100.1-example.pdf", package = "ORscraper")
lines <- read_pdf_content(example_pdf)

# Read content from mutation tables
genesFile <- system.file("extdata", "Genes.xlsx", package = "ORscraper")
genes <- read_excel(genesFile)
mutations <- unique(genes$GEN)

# Extract mutations values from the extracted text
genes_mut <- c()
pathogenicities <- c()
tableValues <- extract_values_from_tables(lines, mutations)
genes_mut <- c(genes_mut, tableValues[1])
pathogenicities <- c(pathogenicities, tableValues[2])

# Filter only pathogenic mutations
pathogenic_mutations <- filter_pathogenic_only(pathogenicities, genes_mut)

print(pathogenic_mutations)

Main Functions

The ORscraper package includes several key functions:

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.