Skip to content

Simple R-code implementing the calculation of a reference-plane (Halfvarson, Nat Microbiol, 2017) in R instead of python.

Notifications You must be signed in to change notification settings

wsteenhu/plane.R

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

plane.R

Collection of functions implementing the calculation of a reference-plane (as described by Halfvarson, Nat Microbiol, 2017) in R instead of Python.

Typical usage would look like this:

source(file="/your/path/here/plane.R")
ord <- pcoa_custom(otu_table_raw)
dtrp <- distance_to_reference_plane(ord, meta, column1 = "Treatment", category1 = "control")

Please find the original Python-implementation here.

About

Simple R-code implementing the calculation of a reference-plane (Halfvarson, Nat Microbiol, 2017) in R instead of python.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages