bt.groupby | R Documentation |
Summarizes a dataset column based upon common column groupings. Akin to the SQL "group by" command.
bt.groupby( i, g = NULL, c = NULL, o = NULL, full = NULL, inheader = NULL, outheader = NULL, header = NULL, ignorecase = NULL, prec = NULL, delim = NULL, output = NULL )
i |
<bed/gff/vcf/bam> |
g |
<group columns> |
c |
<op. column> |
o |
<operation> |
full |
Print all columns from input file. The first line in the group is used. Default: print only grouped columns. |
inheader |
Input file has a header line - the first line will be ignored. |
outheader |
Print header line in the output, detailing the column names. If the input file has headers (-inheader), the output file will use the input's column names. If the input file has no headers, the output file will use "col_1", "col_2", etc. as the column names. |
header |
same as '-inheader -outheader' |
ignorecase |
Group values regardless of upper/lower case. |
prec |
Sets the decimal precision for output (Default: 5) |
delim |
Specify a custom delimiter for the collapse operations. - Example: -delim "|" - Default: ",". |
output |
Output filepath instead of returning output in R. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.