cdsrestodf: Extract CD-SEARCH results as data.frame.

View source: R/cdsearchr.R

cdsrestodfR Documentation

Extract CD-SEARCH results as data.frame.

Description

cdsearchr internal function that takes the HTML-formatted results from cdsretrieve and converts it into a base::data.frame using data.table::fread.

Usage

cdsrestodf(content, rowstoskip = 7, sep = "\t")

Arguments

content

(httr response object, mandatory) httr response object containing the annotation results from the CD-SEARCH server.

rowstoskip

(numeric, mandatory) the response contains header rows for the results table. These need to be skipped. This indicates how many such rows there are.

sep

(character, mandatory) separator symbol delineating successive rows of the results table.

Value

A base::data.frame.


vragh/seqvisr documentation built on April 20, 2024, 10:06 a.m.