View source: R/contributions.R
summarise_contribution | R Documentation |
summarise_contribution
produces a data.frame of
contributions by user. suggest_authorship
can use this to suggest
which contributors meet defined authorship/acknowledgement criteria.
suggest_authorship
suggests how to acknowledge
individuals
write_authors
produces a list of authors
write_ack
produces an acknowledgements wording.
summarise_contribution(
skids,
type = c("nodes", "synapses", "pre", "post"),
...
)
suggest_authorship(x, auth = 5, ackn = c(3000, 100))
write_authors(x, ...)
write_ack(x, ...)
skids |
catmaid skeleton ids (see |
type |
Whether to summarise contributions towards arbour (nodes) or synapses |
... |
Additional arguments passed by |
x |
A data frame containing the output of summarise_contribution |
auth |
The minimum percentage of the total effort for authorship |
ackn |
The minimum number of nodes/synapses to be acknowledged. When length of 2, the first number is assumed to be the criterion for arbour nodes, the second for synapses. |
A data.frame describing contributions or for
write_authors/write_ack
a string describing in descending order of
contribution written to the console by cat
.
## Not run:
pnsc=summarise_contribution("annotation:^PN$")
suggest_authorship(pnsc)
write_authors(pnsc, auth=3.0)
write_ack(pnsc)
pnsc=summarise_contribution("annotation:^PN$", type='synapses')
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.