R/version.R

Defines functions print.GeneSummary_info

Documented in print.GeneSummary_info

# == title (variable:GeneSummary)
# Version and source information
#
# == example
# GeneSummary
GeneSummary = list(
	built_date = "2023-09-23",
	source = "https://ftp.ncbi.nih.gov/refseq/release/complete/*.rna.gbff.gz",
	refseq_version = "220",
	orgainsms = 129

)
class(GeneSummary) = "GeneSummary_info"

# == title
# Print the GeneSummary_info object
#
# == param
# -x A ``GeneSummary_info`` object.
# -... Other arguments
#
# == value
# No value is returned.
#
# == example
# GeneSummary
print.GeneSummary_info = function(x, ...) {
	cat("RefSeq gene summaries\n")
	cat("  RefSeq release:", x$refseq_version, "\n")
	cat("  Source:", x$source, "\n")
	cat("  Number of organisms:", x$orgainsms, "\n")
	cat("  Built date: ", x$built_date, "\n")
}
jokergoo/GeneSummary documentation built on Sept. 29, 2023, 1:01 p.m.