Skip to contents

Main models

schint_cell()
Cell-level G×Cell-State heritability model
schint_sample()
Sample-level G×Cell-Type heritability model
schint_pert()
Perturbation heritability with cell-state or cell-type interaction

Genotypes and GRMs

make_grm()
Build a genomic relationship matrix from genotypes
split_snps()
Split SNPs into groups (for multiple GRMs)
read_plink()
Read a PLINK binary fileset as a dosage matrix
select_cis_snps()
Select cis SNPs around a gene
read_grm_bin() write_grm_bin()
Read / write a GCTA binary GRM

Simulation and example data

simulate_geno()
Simulate genotypes with local LD
simulate_schint()
Simulate cell-level and sample-level expression for the example data
simulate_pert()
Simulate perturb-seq-like data for the perturbation heritability model
schint_example
Example data for scHINT
schint_pert_example
Example perturb-seq data for scHINT