powered by
Aggregate single-cell data into combined bulk expression and allele profile
get_bulk( count_mat, lambdas_ref, df_allele, gtf, subset = NULL, min_depth = 0, nu = 1, segs_loh = NULL, verbose = TRUE )
dataframe Pseudobulk gene expression and allele profile
dgCMatrix Gene expression counts
matrix Reference expression profiles
dataframe Single-cell allele counts
dataframe Transcript gtf
vector Subset of cells to aggregate
integer Minimum coverage to filter SNPs
numeric Phase switch rate
dataframe Segments with clonal LOH to be excluded
logical Verbosity
bulk_example = get_bulk( count_mat = count_mat_example, lambdas_ref = ref_hca, df_allele = df_allele_example, gtf = gtf_hg38)
Run the code above in your browser using DataLab