argweavers.r

R interface for argweaver.

Module Contents

Functions

plotTreesFromBed

Plot trees from a bed file.

API

argweavers.r.plotTreesFromBed(bedfile: str | Path | PathLike, *, i: int | Literal['max'] = 'max', s: str | None = None) Tuple[List[pandas.DataFrame], pandas.DataFrame]

Plot trees from a bed file.

See plotTreesFromBed.

Parameters

bedfile : str, pathlib.Path or os.PathLike Path to the bed file.

i : int, optional The MCMC iteration to use. Default is -1, which means all intervals.

s : str, optional Subset of the file, in format {chrom}:{start}-{end}