estimateIGTProjection

0th

Percentile

Estimates an Information Geometric Temporal plot projection

Estimates an IGTProjection object from a DataTemporalMap object.

Usage
estimateIGTProjection(dataTemporalMap, dimensions = 3,
  startDate = NULL, endDate = NULL)

# S4 method for DataTemporalMap estimateIGTProjection(dataTemporalMap, dimensions = 3, startDate = NULL, endDate = NULL)

Arguments
dataTemporalMap

of class DataTemporalMap object.

dimensions

numeric integer value indicating the number of dimensions for the projection.

startDate

a Date object indicating the date at which to start the analysis, in case of being different from the first chronological date in the date column (the default).

endDate

a Date object indicating the date at which to end the analysis, in case of being different from the last chronological date in the date column (the default).

Value

An IGTProjection object containing the projected coordinates of each temporal batch in the embedded non-parametric Statistical Manifold

Aliases
  • estimateIGTProjection
  • estimateIGTProjection,IGTProjection-method
  • estimateIGTProjection,DataTemporalMap-method
Examples
# NOT RUN {
load(system.file("extdata",
                 "variabilityDemoNHDSdiagcode1-phewascode.RData",
                  package="EHRtemporalVariability"))
igtProj <- estimateIGTProjection( dataTemporalMap = probMaps$`diagcode1-phewascode`, 
dimensions      = 3, 
startDate       = "2000-01-01", 
endDate         = "2010-12-31")

# }
# NOT RUN {
# For additional and larger examples download the following .Rdata file:

githubURL <- "https://github.com/hms-dbmi/EHRtemporalVariability-DataExamples/raw/master/variabilityDemoNHDS.RData"
load(url(githubURL))
igtProj <- estimateIGTProjection( dataTemporalMap = probMaps[[1]], 
dimensions      = 3, 
startDate       = "2000-01-01", 
endDate         = "2010-12-31")
# }
Documentation reproduced from package EHRtemporalVariability, version 1.0, License: Apache License 2.0 | file LICENSE

Community examples

Looks like there are no examples yet.