Function calculates susceptibility scores for k-mers in case and control regions. Case regions are defined by genomic coordinates provided in a file or data.table. Control regions can be constructed relative to the case regions or provided directly. The scores are computed based on the occurrence of k-mers in case and control regions.
SCORE(
case.coor.path,
genome.name,
strand.sensitive,
k,
ctrl.rel.pos,
case.pattern,
output.path,
case,
genome,
control,
control.path,
genome.path,
rm.case.kmer.overlaps,
single.case.len,
merge.replicates,
rm.dup,
case.coor.1st.idx,
ctrl.coor.1st.idx,
coor.load.limit,
genome.load.limit,
genome.fasta.style,
genome.ncbi.db,
use.UCSC.chr.name,
verbose
)
Data.table containing susceptibility scores for k-mers.
Path to the file containing genomic coordinates of case regions.
Name of the genome to be used.
Logical indicating whether strand information should be considered.
Integer size of the expanded k-mer.
Relative positions of control regions with respect to case regions. It should be a vector of two integers indicating the upstream and downstream distances from the case regions.
Regular expression pattern to identify the central sequence in case regions.
Directory path where the output files will be saved.
Data.table containing the genomic coordinates of case regions.
Genome data.table containing the genomic sequence information.
Data.table containing the genomic coordinates of control regions.
Path to the file containing genomic coordinates of control regions (optional).
Path to the genome FASTA file.
Logical indicating whether overlapping k-mers within case regions should be removed.
Single case length.
Logical indicating whether replicates should be merged.
Logical indicating whether duplicate k-mers should be removed.
First index in the case coordinate file.
First index in the control coordinate file.
Maximum number of coordinates to load.
Maximum number of genome sequences to load.
FASTA style.
NCBI database.
Logical indicating whether to use UCSC chromosome names.
Logical indicating whether to display progress messages.