count_snp {miRetrieve}R Documentation

Count SNPs in a data frame

Description

Count occurrence of SNPs in a data frame.

Usage

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()


[Package miRetrieve version 1.3.4 Index]