db_to_list.RdThis function will read a scrattch SQLite database into memory as a list.
db_to_list(
db.file,
get_tables = NULL,
genes = NULL,
group_by = NULL,
groups = NULL
)- a character object specifying the location of the database
- a character object with a list of genes to retrieve. NULL retrieves all genes. default = NULL
- a character object with the base of the annotation column to filter on if only specific groups should be selected. NULL retrieves all groups. default = NULL
- a numeric object with the group indexes to be selected. NULL retrieves all groups. default = NULL
A list object containing data.frames for each table in the database, filtered according to genes, group_by, and groups if provided.
Each table (desc, anno, and data) will be a data frame within the list.