deleteLocalData: Delete local data for the species of the reference class Bgee...

View source: R/deleteLocalData.R

deleteLocalDataR Documentation

Delete local data for the species of the reference class Bgee object

Description

This function delete data present in the local database. It can delete data rather from one datatype or all datatypes of one species.

Usage

deleteLocalData(myBgeeObject, allDataTypes = FALSE)

Arguments

myBgeeObject

A Reference Class Bgee object, notably specifying the targeted species

allDataTypes

A boolean defining rather data of all datatypes from the selected species should be deleted. If TRUE, the local sqlite database file is deleted. If FALSE, data corresponding to the datatype of the myBgeeObject object will be deleted from the local sqlite database.

Author(s)

Julien Wollbrett

Examples

{
  bgee <- Bgee$new(species = "Mus_musculus", dataType = "rna_seq")
  data <- getData(bgee, experimentId = "SRP007359")
  deleteLocalData(bgee, allDataTypes = TRUE)
}


BgeeDB/BgeeDB_R documentation built on Jan. 14, 2024, 4:29 a.m.