Learn R Programming

topr (version 2.0.1)

get_overlapping_snps_by_pos: Get variants that overlap between two datasets

Description

get_overlapping_snps_by_pos()

This method is deprecated and will be removed in future versions. use match_by_pos instead.

Usage

get_overlapping_snps_by_pos(df1, df2, verbose = F)

Value

The input dataframe containing only those variants with matched alleles in the snpset

Arguments

df1

A dataframe of variants, has to contain CHROM and POS

df2

A dataframe of variants, has to contain CHROM and POS

verbose

A logical scalar (default: FALSE). Assign to TRUE to get information on which alleles are matched and which are not.

Examples

Run this code
if (FALSE) {
get_overlapping_snps_by_pos(dat1, dat2)
}

Run the code above in your browser using DataLab