regionize: Create cell type annotations per region.

Description Usage Arguments Value

View source: R/regionize.R

Description

For each brain region, based on a defined hierarchy, it choses which samples to take in

Usage

1
regionize(design, regionNames, groupNames, regionHierarchy = NULL)

Arguments

design

A data.frame containing the design information

regionNames

a string naming the column of the design table that indicates the region names

groupNames

a string vector naming the columns of the design table that indicates cell type naming schemes.

regionHierarchy

a list of lists that represents the region hierarchy.

Value

A list containing character vectors that annotates samples. If the sample will not be considered for the region it will be represented as an NA, otherwise it'll have the cell type name indicated in the region


oganm/markerGeneProfile documentation built on July 11, 2019, 5:18 p.m.