scGAD.Rd
This function allows you to calculate GAD value for each gene in each cell.
scGAD(
path = NULL,
hic_df = NULL,
genes,
depthNorm = TRUE,
cores = 4,
threads = 8,
binPair = TRUE,
format = "short",
res = 10000
)
A path to the single-cell Hi-C data. The data format should be the same as in the bandnorm hic_df input.
You can also load dataframe containing all Hi-C data to here, but it is not recommended, since in scGAD, we are dealing with high resolution matrices, and it will consume a lot of memory if we load it directly.
A data frame containing 5 columns: chrmomsome, start, end, strand, gene name.
Whether to normalize the sequencing depth effect. Default is TRUE.
Number of cores used for parallel running. Default is 4.
Number of threads for fread function, default is 8.
Use bin pair or valid reads. The former is faster since it is already binned, but the latter will be more accurate. Default is TRUE.
The format of the valid pairs. "short", "medium", "long", "4DN" are supported. See https://github.com/aidenlab/juicer/wiki/Pre.
The resolution of the data. Used only when binPair = TRUE. Default is 10000.
#