mvmerge: Merge Two Datasets with Overlapping Samples

View source: R/mergeDatasets.R

mvmergeR Documentation

Merge Two Datasets with Overlapping Samples

Description

Merge Two Datasets with Overlapping Samples

Usage

mvmerge(
  dataset1,
  dataset2,
  dataset1_name = NULL,
  dataset2_name = NULL,
  features1 = NULL,
  features2 = NULL,
  keepFiltered = F,
  sigsOnly1 = F,
  sigsOnly2 = F,
  alpha = 0.05
)

Arguments

dataset1

First MicroVis dataset

dataset2

Second MicroVis dataset

dataset1_name

(Optional) What to name the first dataset.

dataset2_name

(Optional) What to name the second dataset.

features1

(Optional) Features to choose from first dataset.

features2

(Optional) Features to choose from second dataset.

keepFiltered

Whether or not to keep the filtered-out taxa that are lumped into the "Other" feature by runFeatureFilter().

sigsOnly1

Whether or not to only consider the significant features of the first dataset. Default is FALSE.

sigsOnly2

Whether or not to only consider the significant features of the second dataset. Default is FALSE.

alpha

Significance threshold. Default is 0.05.

Value

Merged dataset with the samples that were shared across both datasets and all the features selected from both datasets.


microresearcher/MicroVis documentation built on Feb. 8, 2024, 10:59 a.m.