database.eraser: Erases the data of all of selected oligonucleotides from a...

Description Usage Arguments Value Examples

View source: R/database.eraser.R

Description

Erases the data of all of selected oligonucleotides from a g4dbr database while maintaining its structure for reuse

Usage

1
2
3
4
5
6
7
8
database.eraser(
  db.to.erase = NULL,
  remove.oligos = NULL,
  erase.CD,
  erase.NMR,
  erase.MS,
  erase.UV
)

Arguments

db.to.erase

An .Rda file path to erase

remove.oligos

A vector containg strings of the oligo names

erase.CD

A logical value (TRUE or FALSE) indicated whether to remove CD data

erase.NMR

A logical value (TRUE or FALSE) indicated whether to remove NMR data

erase.MS

A logical value (TRUE or FALSE) indicated whether to remove MS data

erase.UV

A logical value (TRUE or FALSE) indicated whether to remove UV data

Value

Return a list of partially of fully emptied dataframes with the correct structure for g4db use

Examples

1
database.eraser(db.to.erase = "this is a filepath", remove.oligos = c("oligo1", "oligo42"), erase.CD = TRUE, erase.NMR = FALSE, erase.MS = TRUE, erase.UV = FALSE)

EricLarG4/g4dbr documentation built on Nov. 21, 2020, 8:37 p.m.