gextract_meth.Rd
gextract methylation data
gextract_meth(
tracks,
names = NULL,
intervals = gintervals.all(),
iterator = "intervs.global.seq_CG",
d_expand = NULL,
join_intervals = FALSE,
extract_meth_calls = FALSE,
avg_tracks = NULL,
avg_tracks_names = NULL,
annot_tracks = NULL,
annot_tracks_names = NULL,
min_cov = NULL,
...
)
name of methylation track suffix (without ".cov" or ".meth")
sets the columns names in the returned value.
genomic scope for which the function is applied
track expression iterator. If "NULL" iterator is based on CpGs
smooth the methylation signal d_expand
bp from each side (optional).
add the intervals to the returned data frame (using left_join)
extract also methylation calls (".meth" tracks)
tracks of average methylation (for tracks that do not have ".cov" and ".meth" tracks)
names of tracks in avg_tracks
(optional)
other tracks to extract
names of annotation tracks
minimal coverage per track. If the coverage is below this number the methylation values would be changed to NA.
additional arguments to gextract
data frame with a column with average methylation for each track, and another column with ".cov" suffix with every track's coverage. If extract_meth_calls
is TRUE - additional columns with ".meth" suffix with number of methylation calls per track.