View source: R/snp_utils_plot.R
count_snps_in_bins | R Documentation |
Get how many SNPs variation fall within each bin in the different regions of the bed file.
count_snps_in_bins(
df,
snp_ID_col = "RefSNP_ID",
left_slop,
right_slop,
left_bins_num = 50,
centre_bins_num = 50,
right_bins_num = 25,
start_centre_len = 39,
end_centre_len = 39,
check_bins = T
)
df |
|
snp_ID_col |
|
left_slop |
|
right_slop |
|
left_bins_num |
|
centre_bins_num |
number of bins to divide the centre region (before slopping). |
right_bins_num |
|
start_centre_len |
Do not bin all centre region at once. Just consider the first N part of the centre region. |
end_centre_len |
Just consider the last N part of the centre region. |
check_bins |
A data.frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.