pplace_to_table: Merge the multiclass and the placement table of pplace object

Description Usage Arguments Details Value Author(s) Examples

View source: R/pplace_to_table.R

Description

Merge the multiclass and the placement table of pplace object

Usage

1
pplace_to_table(pplace, type = "full",run_id=NULL)

Arguments

pplace

a pplace object

type

the placement type to consider

run_id

A vector of run_id to subset

Details

For the type argument, either "full" or "best" are accepted. Whereas for the "full" type, all the placements are considered, only the best placement for each sequence is considered for the "best" type.

Value

a data frame with the same column names as the mutliclass and placements tables

Author(s)

pierre lefeuvre

Examples

1
2
3
4
5
6
7
data(pplace)

### with every placement
pplace_to_table(pplace)

### keeping only the best placement for each sequence
pplace_to_table(pplace,type="best")

BoSSA documentation built on Oct. 23, 2020, 7:55 p.m.