Man pages for Kalhor-Lab/QFM
Quantitative Fate Mapping with ICE-FASE and Phylotime

add_edge_lengthAdd edge length to edge df
as.phylo.type_graphConvert type graph to phylo object
calc_bsumCompute BSUM or Colless index value
calculate_type_countsCalculate the counts before next division
cells_to_edgesConvert cells to edge data.frame
cells_to_nodesConvert cells to node data.frame
change_target_timeChange target time
check_n_identityCompre if two strings are identical other than 'N' characters
collaspe_dicollaspe nodes below certain threshold
concat_mut_pConcatenate two 'mut_p' (mutagenesis parameters) objects.
concat_mut_p_listConcatenate a list of 'mut_p' (mutagenesis parameters)...
construct_true_lineage_multideprecated now (repplaced by mod2) deprecated but no mod2...
distribute_all_mut_countsDistribute allele counts for all elements
distribute_mut_countsDistribute mutant allele counts between two groups
edges_df_to_newickConvert simplified edges df to phylo
generate_diff_outcomeGenerate differentiation outcome matrix for type graph
generate_edge_dfGenerate edge data.frame for type graph, getting edge lengths...
generate_mut_idsGenerate a batch of depth-1 mutante allele
generate_nonrecur_mut_idsGenerate a batch of non recurring depth-1 mutante allele
generate_recur_mut_idsGenerate a batch of recurring depth-1 mutant allele
get_cell_type_countscurrent version of cell phylogeny model
get_edge_diffICE-FASE inference when topology has multifurcations
get_edge_lenget edge length statistics to distinguish between g0 and g1
get_mut_durationget overlaps of intervals using trick on IRanges TODO:...
get_nextextend out node to the next bifurcation in the lineage tree
get_node_mappingget mapping of inferred progenitor states to true progenitor...
get_sampled_cellsGet sampled cells of at target time
get_sample_sizeGet sample size of sim_history
get_target_timeGet target time from sim_history
get_true_size_mod2this function returns the incoming size as well as the...
get_t_totaldeprecated function, used for somatic mutation get the total...
helloHello, World!
ice_fasereconstructs phylogeny with phylotime, and infers...
impute_charactersImpute missing characters from cell allele matrix
initialize_mut_element_counterInitialize the global mut_element counter for non-recurring...
initialize_mut_stateInitialize unmutated matrix for single cell model
initial_states_listMake initial states list
init_mut_counts_listInitialize mutant allele count list for bulk counting
is_non_decsCheck if a vector is non-decreasing
is_zero_rangeCheck if a vector is all the same value
make_gr_tr_datamostly deprecated functions of ICE_FASE, replaced by...
make_heatmap_colMake a color palette for Heatmap visualization
make_mut_elementConstructor for mutation parameter for a single element Only...
make_mut_param_by_rateMake a mut_param by a sequence of mutation rates
make_mut_param_by_rate_rvecMake a mut_param by a sequence of mutation rates and...
make_type_graphConstructor for type graph
mutate_barcodesGenerate mutant allele for single cell mutation states
mutate_cellsMutate the barcodes for cells object
mut_counts_totalGives the counts for mut_counts_list
normalize_rowNormalize rows of a matrix to be the same sum 'm'
normalize_treeConstruct lineage tree from sim_history
num_gen_single_typeGiven a single cell type, generate the number of generations...
phylotimePhylotime for reconstructing time-scaled phylogeny based on...
plot_col_vecPlot a color vector for visualization
plot_gr_dataplot ice_fase results
plot_legendPlot legend on a new canvas given a ggplot object
plot_type_graphPlot type graph using ggraph
push_pdfPush a ggplot object to a PDF file
push_pngPush a ggplot object to a PNG file
rstocRound a number stochasticly, returns integer greater than or...
sample_all_mut_countsDraw one sample of mutation counts for all elements
sample_all_mut_counts_genDraw one sample of the mutation counts after a number of...
sample_doublet_branchthe stochastic coal function sample the number of doublet...
sample_doublet_twotypethe asymmetric coal function
sample_mut_countsDraw one sample of the mutation counts after some time
scale_countsdeprecated Assign counts based on total and fraction, rounded...
sim_history_to_edgesConvert sim_history to edges data.frame
sim_history_to_nodesConvert sim_history to nodes data.frame
simplify_edges_dfRemove internal nodes with single daughter
subsample_all_mut_countsDraw subsample of allele counts for all elements
subsample_mut_countsDraw a subsample of mutant allele counts
subset_mut_pSubset a 'mut_p' object to a number of its elements
white_col_mapperGenerate a 'white' color vector for plotting
Kalhor-Lab/QFM documentation built on Nov. 25, 2024, 10:18 p.m.