HTGM3D: HTGM3D

View source: R/HTGM3D.R

HTGM3DR Documentation

HTGM3D

Description

compute matrix to use as input to plot3d()

Usage

HTGM3D(dir, geneList, GOGOA3, thresh1, thresh3, mn, mx, pcgMN, pcgMX, verbose)

Arguments

dir

character string full path name to the directory acting as result repository

geneList

character vector of user-supplied genes of interest

GOGOA3

return value of subsetGOGOA()

thresh1

numerical acceptance threshold for individual ontologies

thresh3

numerical acceptance threshold for joint ontology

mn

integer min category size threshold passed to trimGOGOA3()

mx

integer max category size threshold passed to trimGOGOA3()

pcgMN

integer param passed to pruneCatGenes

pcgMX

integer param passed to pruneCatGenes

verbose

integer vector representing vprint classes

Value

returns matrix containing information that provides the input needed for running plot3d()

Examples

## Not run: 
# GOGOA3.RData is too large to include in the R package
# so I need to load it from a file that is not in the package.
# Since this is in a file in my own file system, I could not
# include this as a regular example in the package.
# you can generate it using the package 'minimalistGODB'
# or you can retrieve it from https://github.com/barryzee/GO/tree/main/databases
load("/Users/barryzeeberg/personal/GODB_RDATA/goa_human/GOGOA3_goa_human.RData")

geneList<-cluster52
dir<-tempdir()
mat3d<-HTGM3D(dir,geneList,GOGOA3,thresh1=3,thresh3=3,mn=2,
 mx=10000,pcgMN=2,pcgMX=200,verbose=1:5)

## End(Not run)


HTGM3D documentation built on June 8, 2025, 11:06 a.m.