softParser: A parser for soft files

softParserR Documentation

A parser for soft files

Description

Parses soft files in a flat file. Expression data inside the soft file can also be returned. Returns a table of metadata if expression data is ommited. If not, returns a list. First element of the list is the metadata, the second element is a list of expression data that needs to be flattened independently since the expression tables can be different depending on the data

Usage

softParser(
  softFile,
  mergeFrame = c("intersect", "union"),
  n = NULL,
  expression = F
)

Arguments

softFile

soft file to be parsed

mergeFrame

if there are different data fields, what to do with them. not yet implemented

n

how many samples are there in the GSE, if not provided, it will be acquired from GEO

expression

should the expression data be returned

Value

A data.frame or a list depending on expression


oganm/ogbox documentation built on Feb. 18, 2024, 12:37 a.m.