Man pages for kazeera/hourglass
This Package Provides Visualizations of Annotated Numeric Data

add_to_rowAnnMake a custom row annotation column
as_numeric_factorConverts factor to number
avg_dataframeAverage a dataframe with continuous and discrete variables...
avg_datasetAverages a dataset object.
bin_varsReplaces values in a vector that equal to certain values to a...
clean_colorsCleans and returns color palette.
cluster_corrmatRe-orders a correlation matrix by hierarchical clustering
cluster_dfRe-orders a matrix by hierarchical clustering
create_folderTakes in a string and creates a new folder with that name.
create_plotsCreate plots in a folder in streamlined approach
create_plots_helperCreate plots helper
df_to_numericCoerce a data.frame to a numeric.data.frame
evaluate_filterSubsets a dataframe based on filters
get_ann_colorsGet color names from unique groups in data frame
get_col_gradientGet color gradient
get_colorsGet color palette from input Excel file.
get_col_paletteGet color palette in the form of colorRampPalette functions.
get_comparison_nameCustomize name of comparison / output folder depending on...
get_comparisonsGet comparisons to run from input Excel file.
get_datasetsPrepare dataset objects in run_hourglass function.
get_duplicated_casesSubset data frame to rows that are duplicated at least once
get_element_colorsGet colors for a named vector based on a color palette.
get_feat_setsRead in and format feat_sets.
get_fileSearch file names
get_levelsGet map of levels in numeric vector
get_nth_partExtracts the first (or nth) entry from each split.
get_outliersIdentify outliers outside of 1st and 3rd quartile by making...
get_paired_dsFinds means of pairs of duplicated ids in different groups
get_rowAnn_color_palGet color palette for dataset row annotations
has_at.least_n.valsChecks whether a vector has at least a certain number of non...
has_less.than.eq.to_NA.thresChecks which rows or columns have number of NAs less than or...
impute_dsImpute numeric matrix in dataset object
impute_w_meanImputes NA/missing values in a vector with random values...
impute_w_mean_dfImputes NA/missing values in a data frame with random values...
load_packagesInstall/load packages from library into environment
make_dataset_obInitialize a dataset object
make_FC.pval_dfFind p-values and fold-change (FC) for each group
make_FC.pval_df_helperFind p-values and fold-change (FC) for each group
make_FC.pval_plotPlot FC-p value heatmap
make.unique.2R make.unique starting in 1
means_of_groupsCalculates means of a vector with discrete levels
medians_of_groupsCalculates medians of a vector with discrete levels
perform_t.testComputes t-test between 2 groups
perform_wilcoxComputes Wilcoxon test between 2 groups
plot_corrplotCreates correlation plot using corrplot package
plot_corrplotggCreates correlation plot using ggplot2 package
plot_discrete_barplotPlot discrete bar graph.
plot_heatmapPlots a heatmap
plot_het_barplotPlot variation bargraph
plot_indiv_boxplotCreates single box plot.
plot_indiv_corrscattPlot all correlation scatter plots for pairwise variables
plot_indiv_pairedCreate paired plot
plot_overview_boxplotCreates overview box plots.
plot_overview_corr_scattPlot overview correlation scatter plot
plot_profile_barplotPlot profile bar graph
plot_surv_curvePlot individual survival curve (Kaplan Meier)
print_unique_elements_countPrints the number of unique elements in each column
pval_to_starsConvert p-values to stars
read_fileRead tabular data
reform_ann_dfSubset data frame by columns
remove_outliersRemove outliers outside of 1st and 3rd quartile by making the...
remove_outliers2Removes outliers using boxplot statistics
remove_outliers_dfRemove outliers outside of 1st and 3rd quartile by making the...
rename_columnRename a column in a data frame.
run_comparisonRun analysis in streamlined approach
run_comparison_helperRuns main analysis for all parameter combos specified in...
run_corrplot_analysisRun correlation plot analysis
run_discrete_barplot_analysisMakes discrete box plots for each parameter in column...
run_from_excelRun Hourglass from single Excel file input.
run_het_analysisRuns heterogeneity analysis for custom comparison, look at...
run_hourglassRun Hourglass.
run_paired_analysisMakes plots to look at subgroup differences within the same...
run_profile_barplotGenerates both fill and stacked bar plots and saves to file
run_surv_analysisIteratively plot survival curves (Kaplan Meier)
save_tablePrint comparison data (MainComparison) + sample/patient ID as...
sort_dataframeSort a dataframe by the contents of its row (sort columnwise)...
sort_datasetSort dataset list object to specified rows and/or columns...
split_one.by.oneSplit string and iteratively return parts pasted to first...
subset_by_filtersSubsets a dataframe rows based on filters
subset_dataframeSubset data frame to the rows and/or columns specified
subset_datasetSubset dataset list object to the rows and/or columns...
subset_feat_sets_dsSubset dataset for custom analysis
test_HourglassTest Hourglass R package from py interface.
trim_each_partAbbreviate elements
turn_off_null_devicesCloses all open file connections
kazeera/hourglass documentation built on April 5, 2025, 7:18 a.m.