File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 1
1
Package: GISAIDR
2
2
Type: Package
3
3
Title: R wrapper for GISAID "API"
4
- Version: 0.9.7
4
+ Version: 0.9.8
5
5
Author: Wytamma Wirth
6
6
Maintainer: Wytamma Wirth <wytamma.wirth@me.com>
7
7
Description: programmatically interact with the GISAID database query.
Original file line number Diff line number Diff line change 22
22
# ' @param collection_date_complete include only entries with complete in collection date the results.
23
23
# ' @param total returns the total number of sequences matching the query.
24
24
# ' @param fast returns all of the accession_ids that match the query.
25
- # ' @param aa_substitution_ceid returns all sequences with the selected amino acid mutation
25
+ # ' @param aa_substitution_ceid returns all sequences with the selected amino acid mutation
26
26
# ' @param nucl_mutation_ceid returns all sequences with the selected nucleotide mutation
27
27
# ' @return data.frame
28
28
query <-
@@ -78,6 +78,8 @@ query <-
78
78
nucl_mutation = nucl_mutation
79
79
))
80
80
}
81
+ results <- results [! duplicated(results $ accession_id ), ] # Remove duplicate entries
82
+ rownames(results ) <- NULL # reset index
81
83
return (results )
82
84
} else if (total | load_all | fast ) {
83
85
return (
You can’t perform that action at this time.
0 commit comments