count_snp: Count SNPs in a data frame

Description Usage Arguments Details Value See Also

View source: R/polymorphism.R

Description

Count occurrence of SNPs in a data frame.

Usage

1
count_snp(df, col.snp = SNPs, col.pmid = PMID)

Arguments

df

Data frame containing SNPs and PubMed IDs.

col.snp

Symbol. Column containing SNPs.

col.pmid

Symbol. Column containing PubMed IDs.

Details

Count occurrence of SNPs in a data frame. The count of SNPs is returned as a separate data frame, only listing the SNPs and their respective frequency.

Value

Data frame. Data frame containing SNPs and their respective frequency.

See Also

extract_snp(), get_snp(), subset_snp()

Other count functions: count_mir_threshold(), count_mir(), plot_mir_count_threshold(), plot_mir_count()


JulFriedrich/miRetrieve documentation built on Sept. 20, 2021, 11:37 p.m.