create_desc: Create a generic description file

Description Usage Arguments Value

View source: R/annotation.R

Description

Create a generic description file

Usage

1
2
create_desc(dat, name = colnames(dat), use_label_columns = FALSE,
  start_columns = NULL)

Arguments

dat

any data frame that you would like to create a description file for

name

desired names of each element in the description file (default is the column names)

use_label_columns

should only columns containing "_label" be included (default = FALSE)

start_columns

character vector of variables to include first in the list (default = NULL, but "cluster" would be a common choice)

Value

a data.frame with columns "base", "name", and "type" for writing to tome


AllenInstitute/scrattch.io documentation built on Nov. 17, 2021, 10:06 a.m.