Closed aguang closed 2 years ago
You're right - that's the process :grimacing: ... I guess easy is relative here.
I wonder if a constructor like
communityprofile(t; featurecontructor)
Where t
is a table and featureconstructor
is a function that would be applied to the first column would be worth adding...
A vignette describing how to create
CommunityProfile
objects from imported CSVs would be helpful. The JOSS preprint says that it is trivial to go from.csv
files toCommunityProfile
and vice versa, but I did not find that to be the case. It wasn't extremely difficult, but I did have to convert my row names to aTaxon
vector, my column names to aMicrobiomeSample
vector, and my matrix to aSparseMatrixCSC
object. If there is an easier way to do it then I would love to know and have that be in the documentation.