Man pages for thednainus/HIVepisimAnalysis
Functions to analyse results from network analysis

add_observed_valuesAdd observed values for phyloscanner results
add_observed_values_directionAdd observed values for phyloscanner results for direction
add_observed_values_directnessAdd observed values for phyloscanner results for directness
add_root_edgeAdd root edge to phylogenetic tree
add_root_edge2Add root edge to phylogenetic tree
add_sampled_timesFunction to add the sampled times for transmission pairs
check_linked_transmissionsCheck whether a pair of individuals are linked by two or more...
check_true_pairCheck whether a pair of individuals represent a transmission...
check_true_pair_directnessCheck whether a pair of individuals represent a transmission...
check_true_transmissionsCheck whether a pair of individuals represent a true...
compute_log_importance_weight_incidenceCalculate the log importance weight based on observed and...
compute_log_importance_weight_newDxCalculate the log importance weight based on observed and...
convert_branchesScale branch length from a phylogenetic tree
create_inf_csvCreate transmission matrix csv
create_inf_csv2Create transmission matrix csv
create_sample_csvGet sample csv file
create_sample_csv2Get sample csv file
create_times_tsvGet tsv for times
create_transmissions_tsvCreate transmission matrix tsv
days2yearsConvert days to years
est_sampleSizeEstimation sample size based on percentage provided by user.
get_cd4sGet CD4s by node IDs
get_cd4s_samplingGet CD4s by node IDs at time of sampling
get_chainGet transmission chains
get_differenceEstimate difference between sampling time and time of...
get_epi_dataGet epi data for simulation runs
get_id_by_locationGet ID of individuals by location
get_n_by_originGet total number of individuals in network by region
get_newidsGet a sampled ID (sid) and vector of IDs to sample from
get_newTip_namesGet tip names based on duplicated rows.
get_origin_at_samplingTimeGet origin at time of sampling
get_precision_recallGet rates to construct ROC curve
get_ratesGet rates to construct ROC curve
get_rates2Get rates to construct ROC curve
get_subset_tipsGet subset of susceptibles and infected individuals
get_tip_cherryGet tip names for cherries in a phylogenetic tree
get_tipNamesGet tip names of phylogenetic tree based on transmission...
get.transmat.phyloGet transmat infection tree for each seed or for specified...
keep_rowGet index of rows to keep in transmission matrix
merge_treesMerge phylogenetic trees into a single tree
name_of_tipsGet tip names.
order_IDs_byDateRemove duplicated rows and order by date of transmission
recency_testGet which IDs are at early stage of HIV infection in the past...
reorder_tip_namesReorder tip names
replace_dupsReplace duplicates.
sampleIDsSample IDs of individuals diagnosed, active and not on ART
sampleIDs2Sample IDs of individuals who have been diagnosed, are active...
selectIDsGet IDs before sampled time.
set_sampledIDsSet a dataframe of sampled IDs (sid) and their sampled times.
split_dirsFunction to split vector of with names of directories into...
summarize_all_dataSummarize all results obtained with phyloscanner
summarize_dataSummarize data for statistics calculated for infector...
summarize_transSummarize results obtained with phyloscanner.
summarize_trans_complSummarize results obtained with phyloscanner.
summaryWSummarize infector probability (W) for phylogenetic trees
summaryW2Summarize infector probability (W) for phylogenetic trees
time_atSeroconversionGet the time of duplicates at seroconversion.
validadeWTitle Validate infector probability calculation
wiwWho infected whom
thednainus/HIVepisimAnalysis documentation built on Sept. 21, 2023, 7:32 a.m.