count_snp.RdCount occurrence of SNPs in a data frame.
count_snp(df, col.snp = SNPs, col.pmid = PMID)
| df | Data frame containing SNPs and PubMed IDs. |
|---|---|
| col.snp | Symbol. Column containing SNPs. |
| col.pmid | Symbol. Column containing PubMed IDs. |
Data frame. Data frame containing SNPs and their respective frequency.
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.
extract_snp(),
get_snp(),
subset_snp()
Other count functions:
count_mir_threshold(),
count_mir(),
plot_mir_count_threshold(),
plot_mir_count()