groupRotations: Calculates rotations based on each group

Description Usage Arguments

View source: R/mgpEstimation.R

Description

Calculates rotations based on each group

Usage

1
2
3
groupRotations(exprData, genes, geneColName, groups, outDir,
  geneTransform = function(x) {     homologene::mouse2human(x)$humanGene
  })

Arguments

exprData

data.frame. Expression data. First collumns of the expression data should include gene names in the same format as the ones specified in the marker gene lists. Any other non-expression related fields must not be of type 'double'

genes

a named list containing marker gene lists of each cell type

geneColName

character. name of the column containing the gene names in the expression file

groups

a vector stating which groups each sample belongs to

outDir

if provided group rotations will be saved there

geneTransform

a function that will be applied to the gene list. the default behavior is to change mouse genes to human genes. set to NULL to keep the genes as they are


PavlidisLab/markerGeneProfile documentation built on July 11, 2019, 11:42 p.m.